sön 2012-11-25 klockan 18:41 +0100 skrev Wolfgang Denk: > Dear Henrik Nordström, > > In message <[email protected]> you wrote: > > ARM v7 runs with icache enabled. For reliable results the go command > > needs to flush the icache before jumping or it may risk running > > cached instructions that differ from what currently is in memory. > > This should never be an architecutre specific thing. Whether we flush > caches or not should be the same on all architectures.
Agreed. But this needs some "flush icache if supported & enabled for current arch" function that do not yell loudly if icache not supported/enabled. invalidate_icache_all() yells loudly if not implememented by the current arch. Regards Henrik _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

