Browse Source

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>
Simon Glass 10 years ago
parent
commit
410b10f1e3
1 changed files with 0 additions and 7 deletions
  1. 0 7
      arch/x86/lib/fsp/fsp_common.c

+ 0 - 7
arch/x86/lib/fsp/fsp_common.c

@@ -17,13 +17,6 @@ int print_cpuinfo(void)
 	return default_print_cpuinfo();
 	return default_print_cpuinfo();
 }
 }
 
 
-void reset_cpu(ulong addr)
-{
-	/* cold reset */
-	outb(0x06, PORT_RESET);
-}
-
-
 int board_pci_post_scan(struct pci_controller *hose)
 int board_pci_post_scan(struct pci_controller *hose)
 {
 {
 	u32 status;
 	u32 status;