projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebebf05
)
x86: fsp: Use reset_cpu()
author
Simon Glass
<sjg@chromium.org>
Wed, 29 Apr 2015 02:11:32 +0000
(20:11 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 30 Apr 2015 03:02:32 +0000
(21:02 -0600)
Now that reset_cpu() functions correctly, use it instead of directly
accessing the port on boards that use a Firmware Support Package (FSP).
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
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 f668259c0e39fae605e7185c1e6d9c6a6bb9f968..001494d97dce65e241b2f6266b1c0ffe736e9ab0 100644
(file)
--- a/
arch/x86/lib/fsp/fsp_common.c
+++ b/
arch/x86/lib/fsp/fsp_common.c
@@
-17,13
+17,6
@@
int print_cpuinfo(void)
return default_print_cpuinfo();
}
-void reset_cpu(ulong addr)
-{
- /* cold reset */
- outb(0x06, PORT_RESET);
-}
-
-
int board_pci_post_scan(struct pci_controller *hose)
{
u32 status;