]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pxa: turn icache off in cpu_init_crit()
authorMike Dunn <mikedunn@newsguy.com>
Mon, 17 Jun 2013 17:47:28 +0000 (10:47 -0700)
committerMarek Vasut <marex@denx.de>
Sat, 22 Jun 2013 13:25:28 +0000 (15:25 +0200)
commit097d86d098ce9c5c59501b4bffd2a3d3324166ef
tree250fb2c64c27a67d978a3e6ad63c941b67f4b7be
parent3497d43215b6919e680fefe59b38b71516adf2a0
pxa: turn icache off in cpu_init_crit()

The comment in the low-level initialization function cpu_init_crit() says that
the caches are being disabled, but (oddly) the icache is actually turned on.
This is probably not a good idea prior to relocating code, so this patch turns
it off.  Tested on the pxa270.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
arch/arm/cpu/pxa/start.S