summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-28 20:11:31 -0600
committerSimon Glass <sjg@chromium.org>2015-04-29 21:02:32 -0600
commitebebf059763d3379a82fbdc6667ca7837f8d96f6 (patch)
tree040b49a22718237c4e5d9af4c3507135ef9383f4 /arch/x86
parent5021c81faa8350ac8f77bd14822aa2f7f30cd1c3 (diff)
downloadu-boot-imx-ebebf059763d3379a82fbdc6667ca7837f8d96f6.zip
u-boot-imx-ebebf059763d3379a82fbdc6667ca7837f8d96f6.tar.gz
u-boot-imx-ebebf059763d3379a82fbdc6667ca7837f8d96f6.tar.bz2
x86: quark: Use reset_cpu()
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/quark/quark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/quark/quark.c b/arch/x86/cpu/quark/quark.c
index 4ffa437..e78a271 100644
--- a/arch/x86/cpu/quark/quark.c
+++ b/arch/x86/cpu/quark/quark.c
@@ -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)