x86: quark: Use reset_cpu()
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:11:31 +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.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/quark/quark.c

index 4ffa4373abf8708e6fde4303f17246cbb7bc7aff..e78a271c5090935acbfeb0d684e3afcd34b085d9 100644 (file)
@@ -122,7 +122,7 @@ int print_cpuinfo(void)
 void reset_cpu(ulong addr)
 {
        /* cold reset */
-       outb(0x08, PORT_RESET);
+       x86_full_reset();
 }
 
 int cpu_mmc_init(bd_t *bis)