
I don't see the flush_cache() call inside cmd_bootm.c. Don't you think it is necessary before jumping to Linux?
Yes, definitely. Actually, I checked it, but re-checking now I see I've been tricked by '[id]cache_disable' being grepped successfully in common/cmd_bootm.c . However, it's inside a false ifdef.
I'm booting through the network, so that's probably why it works reliably for me (netboot_common does the propre flushing).
Right, cache_disable() should be called to do the proper job, i.e. cache disabling and flushing.
OK, we can wait for more comments but if there are no other architectural drawbacks I can't think of I'm willing to test it on SPEAr achitecture as well. Actually I have always thought about enabling dcache, but too lazy to implement/verify it :-(
Thx, Arm