diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-12-07 12:40:11 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-12-10 14:32:50 +0100 |
commit | b8d58b14a27b126433d89135f174c9e25c78da43 (patch) | |
tree | 308c332f1d89a63c18ec220112b9efae1f9bcc54 /scripts | |
parent | 26950ce364ac3bff7ead6d49adfca7723518af50 (diff) | |
download | barebox-b8d58b14a27b126433d89135f174c9e25c78da43.tar.gz barebox-b8d58b14a27b126433d89135f174c9e25c78da43.tar.xz |
start-arm: disable I-cache
<HACK>
For some yet unknown reason the processor on the i.MX35 3stack board (at
least on our board) has problem with an activated instruction cache and
booting from NAND: The copy-from-NFC-RAM-to-SDRAM routine doesn't loop.
It looks basically like this:
1:
ldmia
stmia
cmp
ble 1b
If the "cmp" instruction lives on address 0xbb000640 it doesn't work
with an activated i-cache. The processor flags are not properly updated.
So the ble won't jump back. This obviously break booting from nand.
This is why this patch disables the i-cache.
</HACK>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions