diff options
-rw-r--r-- | board/chromebook-x86/chromeos/power_management.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/board/chromebook-x86/chromeos/power_management.c b/board/chromebook-x86/chromeos/power_management.c index 2910f3a0a16..40116a24f99 100644 --- a/board/chromebook-x86/chromeos/power_management.c +++ b/board/chromebook-x86/chromeos/power_management.c @@ -14,6 +14,7 @@ #include <common.h> #include <asm/global_data.h> #include <asm/io.h> +#include <asm/ibmpc.h> #include <pci.h> #define PM1_STS 0x00 @@ -57,9 +58,14 @@ int is_processor_reset(void) void cold_reboot(void) { printf("Rebooting...\n"); + + /* let's use keyboard controller for this */ + outb(0xfe, KBDCMD); + /* + TODO(vbendeb): fix CF9 reset and use it instead of KB reset outb(SYS_RST, RST_CNT); outb(SYS_RST | RST_CPU, RST_CNT); - + */ for (;;) asm("hlt"); } |