]> git.sur5r.net Git - u-boot/commitdiff
x86: fsp: Use reset_cpu()
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:11:32 +0000 (20:11 -0600)
committerSimon 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

index f668259c0e39fae605e7185c1e6d9c6a6bb9f968..001494d97dce65e241b2f6266b1c0ffe736e9ab0 100644 (file)
@@ -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;