commit | f8b5c5668e149cd33adaf4d7f7216df86628f752 | [log] [tgz] |
---|---|---|
author | tnishinaga.dev@gmail.com <tnishinaga.dev@gmail.com> | Mon Jun 05 01:18:08 2017 +0900 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 09 20:34:54 2017 -0400 |
tree | 56a52663270313cb0fdd5b3e1bd2e304d628c892 | |
parent | a8cb022d7067e2eea246180fcd7efbbdb8618e00 [diff] |
armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel Disable D-Cache is required when booting nommu Linux kernel. (please see Linux kernel source "arch/arm/kernel/head-nommu.S") U-Boot is enabled D-cache and I-Cache at startup. However, it does not disable D-Cache before booting nommu Linux kernel. Therefore, I call dcache_disable() when the CPU is ARMv7M to fix this problem. Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com>