projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406be39
)
x86: fsp: Eliminate the reset_cpu() call
author
Bin Meng
<bmeng.cn@gmail.com>
Thu, 19 Jul 2018 10:07:32 +0000
(
03:07
-0700)
committer
Bin Meng
<bmeng.cn@gmail.com>
Fri, 20 Jul 2018 01:33:22 +0000
(09:33 +0800)
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>
arch/x86/lib/fsp/fsp_common.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/fsp/fsp_common.c
b/arch/x86/lib/fsp/fsp_common.c
index b4ba129725f2acd8f2d14ab8fea8c26fd4147216..d5ed1d5631287fde641bf46d429d2bcca9fd6720 100644
(file)
--- 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");
}