Commit 410b10f1e329ae49340500e0fbc4ac011ba40001

Authored by Simon Glass
1 parent ebebf05976

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>

Showing 1 changed file with 0 additions and 7 deletions Side-by-side Diff

arch/x86/lib/fsp/fsp_common.c
... ... @@ -17,13 +17,6 @@
17 17 return default_print_cpuinfo();
18 18 }
19 19  
20   -void reset_cpu(ulong addr)
21   -{
22   - /* cold reset */
23   - outb(0x06, PORT_RESET);
24   -}
25   -
26   -
27 20 int board_pci_post_scan(struct pci_controller *hose)
28 21 {
29 22 u32 status;