summaryrefslogtreecommitdiff
path: root/tools/atmel_pmecc_params.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-05-02 10:52:13 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-05-08 13:02:15 +0800
commit40476f4afc08ccb6f1f95d7790b6a29159e8b30a (patch)
tree25feac5a92d114d0bf0b58d1ad9717b5e258f9b5 /tools/atmel_pmecc_params.c
parent2b36eabd8aec5107f4753715c2fb4e30cb0d6136 (diff)
x86: sysreset: Separate out the EFI code
The EFI implementation of reset sits inside the driver and is called directly from outside the driver, breaking the normal driver-model conventions. Worse, it passed NULL as the device pointer, hoping that the called function won't use it, which breaks as soon as code is added to use it. Separate out the implementation to improve the situation enough to allow a future patch to add new sysreset features. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/atmel_pmecc_params.c')
0 files changed, 0 insertions, 0 deletions