From: Simon Glass Date: Wed, 29 Apr 2015 02:11:32 +0000 (-0600) Subject: x86: fsp: Use reset_cpu() X-Git-Tag: v2015.07-rc1~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=410b10f1e329ae49340500e0fbc4ac011ba40001;p=oweals%2Fu-boot.git 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 Reviewed-by: Bin Meng --- 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;