x86: fsp: Eliminate the reset_cpu() call

In preparation for the reset driver conversion, eliminate the
reset_cpu() call in the FSP init path as it's too early for the
reset driver to work.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Bin Meng 2018-07-19 03:07:32 -07:00
parent 406be398ed
commit 7bb6028768

View File

@ -132,7 +132,7 @@ int arch_fsp_init(void)
chipset_clear_sleep_state(); chipset_clear_sleep_state();
/* Reboot */ /* Reboot */
debug("Rebooting..\n"); debug("Rebooting..\n");
reset_cpu(0); outb(SYS_RST | RST_CPU, IO_PORT_RESET);
/* Should not reach here.. */ /* Should not reach here.. */
panic("Reboot System"); panic("Reboot System");
} }