summaryrefslogtreecommitdiff
path: root/board/eNET/eNET.c
diff options
context:
space:
mode:
authorMike Frysinger <[email protected]>2010-12-24 14:46:12 -0500
committerMike Frysinger <[email protected]>2011-04-08 00:44:26 -0400
commitc745a84648d72a0c7ac7f8cce4abdaecfbb05ddc (patch)
tree63fec6c504e9670d2bf1d425cbaf41dbd66abba6 /board/eNET/eNET.c
parent05e7825e49586edc5cb42fa785d7cebe7bfe1de6 (diff)
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 <[email protected]>
Diffstat (limited to 'board/eNET/eNET.c')
0 files changed, 0 insertions, 0 deletions