projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5b5a82e
)
imx6: fix random hang when download by usb
author
Frank Li
<Frank.Li@freescale.com>
Wed, 13 Nov 2013 16:58:46 +0000
(
00:58
+0800)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 17 Dec 2013 17:48:45 +0000
(18:48 +0100)
ROM did not invalidate L1 cache when download by usb
Need invalidate L1 cache before enable cache
Signed-off-by: Huang yongcai <b20788@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx6/soc.c
b/arch/arm/cpu/armv7/mx6/soc.c
index
a390296
..
335706a
100644
(file)
--- a/
arch/arm/cpu/armv7/mx6/soc.c
+++ b/
arch/arm/cpu/armv7/mx6/soc.c
@@
-150,6
+150,8
@@
int arch_cpu_init(void)
#ifndef CONFIG_SYS_DCACHE_OFF
void enable_caches(void)
{
+ /* Avoid random hang when download by usb */
+ invalidate_dcache_all();
/* Enable D-cache. I-cache is already enabled in start.S */
dcache_enable();
}