summaryrefslogtreecommitdiff
path: root/arch/blackfin/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-24 14:46:12 -0500
committerMike Frysinger <vapier@gentoo.org>2011-04-08 00:44:26 -0400
commitc745a84648d72a0c7ac7f8cce4abdaecfbb05ddc (patch)
tree63fec6c504e9670d2bf1d425cbaf41dbd66abba6 /arch/blackfin/lib
parent05e7825e49586edc5cb42fa785d7cebe7bfe1de6 (diff)
downloadu-boot-imx-c745a84648d72a0c7ac7f8cce4abdaecfbb05ddc.zip
u-boot-imx-c745a84648d72a0c7ac7f8cce4abdaecfbb05ddc.tar.gz
u-boot-imx-c745a84648d72a0c7ac7f8cce4abdaecfbb05ddc.tar.bz2
Blackfin: turn off caches when self initializing
When bootstrapping ourselves on the fly at runtime (via "go"), we need to turn off the caches to avoid taking software exceptions. Since caches need CPLBs and CPLBs need exception handlers, but we're about to rewrite the code in memory where those exception handlers live, we need to turn off caches first. This new code also encourages a slight code optimization by storing the MMR bases in dedicated registers so we don't have to fully load up the pointer regs multiple times. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/lib')
0 files changed, 0 insertions, 0 deletions