]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: sysreset: Implement power-off if available
authorSimon Glass <sjg@chromium.org>
Thu, 2 May 2019 16:52:14 +0000 (10:52 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:15 +0000 (13:02 +0800)
commitd6b1ba2fb99cdda35983b1e70c745728b8df9b4b
treefc49a2895712a1bf1b728acf76c1cd25213981d8
parent40476f4afc08ccb6f1f95d7790b6a29159e8b30a
x86: sysreset: Implement power-off if available

On modern x86 devices we can power the system off using the power-
management features of the PCH. Add an implementation for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/sysreset/sysreset_x86.c