u-boot-brain/arch/blackfin/cpu
Mike Frysinger c745a84648 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>
2011-04-08 00:44:26 -04:00
..
.gitignore blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
bootcount.c Blackfin: implement bootcount support 2010-07-05 04:18:18 -04:00
bootrom-asm-offsets.awk blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
bootrom-asm-offsets.c.in Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cache.S blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
cmd_gpio.c Blackfin: cmd_gpio: accept upper case pin names 2010-10-02 16:00:40 -04:00
cpu.c Blackfin: set up simple NMI handlers for anomaly 05000219 2010-07-05 04:18:18 -04:00
cpu.h Blackfin: set up simple NMI handlers for anomaly 05000219 2010-07-05 04:18:18 -04:00
gpio.c Blackfin: BF50x: new processor port 2011-04-08 00:44:26 -04:00
initcode.c Blackfin: BF50x: new processor port 2011-04-08 00:44:26 -04:00
interrupt.S Blackfin: set up simple NMI handlers for anomaly 05000219 2010-07-05 04:18:18 -04:00
interrupts.c blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
jtag-console.c Blackfin: jtag-console: handle newline stuffing 2010-07-25 15:17:34 -04:00
Makefile Blackfin: drop initcode.o from combined object 2010-11-19 19:17:57 -05:00
os_log.c blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
reset.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
serial.c Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
serial.h Blackfin: BF50x: new processor port 2011-04-08 00:44:26 -04:00
start.S Blackfin: turn off caches when self initializing 2011-04-08 00:44:26 -04:00
traps.c Blackfin: clean up trace buffer handling when crashing 2010-07-05 04:18:18 -04:00
watchdog.c blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00