From: Bin Meng Date: Thu, 19 Jul 2018 10:07:32 +0000 (-0700) Subject: x86: fsp: Eliminate the reset_cpu() call X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7bb6028768c31bf454314b622f52235fb7d82764;p=u-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c index b4ba129725..d5ed1d5631 100644 --- a/arch/x86/lib/fsp/fsp_common.c +++ b/arch/x86/lib/fsp/fsp_common.c @@ -132,7 +132,7 @@ int arch_fsp_init(void) chipset_clear_sleep_state(); /* Reboot */ debug("Rebooting..\n"); - reset_cpu(0); + outb(SYS_RST | RST_CPU, IO_PORT_RESET); /* Should not reach here.. */ panic("Reboot System"); }