projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'next'
[platform/kernel/u-boot.git]
/
nand_spl
/
nand_boot_fsl_elbc.c
diff --git
a/nand_spl/nand_boot_fsl_elbc.c
b/nand_spl/nand_boot_fsl_elbc.c
index
4a961ea
..
0d0c44e
100644
(file)
--- a/
nand_spl/nand_boot_fsl_elbc.c
+++ b/
nand_spl/nand_boot_fsl_elbc.c
@@
-143,6
+143,11
@@
void nand_boot(void)
* Jump to U-Boot image
*/
puts("transfering control\n");
* Jump to U-Boot image
*/
puts("transfering control\n");
+ /*
+ * Clean d-cache and invalidate i-cache, to
+ * make sure that no stale data is executed.
+ */
+ flush_cache(CONFIG_SYS_NAND_U_BOOT_DST, CONFIG_SYS_NAND_U_BOOT_SIZE);
uboot = (void *)CONFIG_SYS_NAND_U_BOOT_START;
uboot();
}
uboot = (void *)CONFIG_SYS_NAND_U_BOOT_START;
uboot();
}