summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-28 20:11:32 -0600
committerSimon Glass <sjg@chromium.org>2015-04-29 21:02:32 -0600
commit410b10f1e329ae49340500e0fbc4ac011ba40001 (patch)
tree05f5f36a50a623a5080dbf8f04c35029eb2787c7 /arch/x86
parentebebf059763d3379a82fbdc6667ca7837f8d96f6 (diff)
downloadtalos-obmc-uboot-410b10f1e329ae49340500e0fbc4ac011ba40001.tar.gz
talos-obmc-uboot-410b10f1e329ae49340500e0fbc4ac011ba40001.zip
x86: fsp: Use reset_cpu()
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/fsp/fsp_common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c
index f668259c0e..001494d97d 100644
--- 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;
OpenPOWER on IntegriCloud