]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: cp15: setup mmu and enable dcache
authorHeiko Schocher <hs@denx.de>
Fri, 17 Sep 2010 11:10:29 +0000 (13:10 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Sep 2010 17:29:50 +0000 (19:29 +0200)
commit880eff5cfb9df6f0855f4e48affd349ca64692e9
tree3110c8e51c38aaaa410943c78afc6f446e21ab13
parent55e97429d1e6cf0976711e4e0f29ea924b7e5917
ARM: cp15: setup mmu and enable dcache

This has been tested on at91sam9263 and STN8815.
Again, I didn't check if it has bad effects
on non-arm926 cores.

Initially I had a "done" bit to only set up page tables
at the beginning. However, since the aligmnent requirement
was for the whole object file, this extra integer tool 16kB
in BSS, so I chose to remove it.

Also, note not all boards use PHYS_SDRAM, but it looks like
it's the most used name (more than CONFIG_SYS_DRAM_BASE for
example).

Portions of this work were supported by funding from
the CE Linux Forum.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Heiko Schocher <hs@denx.de>
arch/arm/lib/cache-cp15.c