Re: [U-Boot] [PATCH] ARM v7: Flush icache when executing a program with go

2012-11-25 Thread Henrik Nordström
sön 2012-11-25 klockan 18:41 +0100 skrev Wolfgang Denk: > Dear Henrik Nordström, > > In message <1353842010.17518.3.ca...@home.hno.se> 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

Re: [U-Boot] [PATCH] ARM v7: Flush icache when executing a program with go

2012-11-25 Thread Wolfgang Denk
Dear Henrik Nordström, In message <1353842010.17518.3.ca...@home.hno.se> 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 sho

[U-Boot] [PATCH] ARM v7: Flush icache when executing a program with go

2012-11-25 Thread Henrik Nordström
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. --- arch/arm/cpu/armv7/Makefile |1 + arch/arm/cpu/armv7/cmd_boot.c | 37 +