projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5021c81
)
x86: quark: Use reset_cpu()
author
Simon Glass
<sjg@chromium.org>
Wed, 29 Apr 2015 02:11:31 +0000
(20:11 -0600)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/quark/quark.c
b/arch/x86/cpu/quark/quark.c
index 4ffa4373abf8708e6fde4303f17246cbb7bc7aff..e78a271c5090935acbfeb0d684e3afcd34b085d9 100644
(file)
--- 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)