diff options
| author | Mike Frysinger <[email protected]> | 2008-10-18 04:04:49 -0400 |
|---|---|---|
| committer | Mike Frysinger <[email protected]> | 2009-03-23 15:14:54 -0400 |
| commit | 7e1d212b6da492c6ea32c62af92e185284f41291 (patch) | |
| tree | 4ed1b3f606e93a92a2c34f172052e3fddfccddd8 /cpu/blackfin/initcode.c | |
| parent | a75fa148d60b1975403441e45565621bba50d2d9 (diff) | |
Blackfin: kill off LDR jump block
The Boot ROM uses EVT1 as the entry point so set that rather than having
to use a tiny jump block in the default EVT1 location.
Signed-off-by: Mike Frysinger <[email protected]>
Diffstat (limited to 'cpu/blackfin/initcode.c')
| -rw-r--r-- | cpu/blackfin/initcode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/blackfin/initcode.c b/cpu/blackfin/initcode.c index 3f3b4796c11..342b96ab8f1 100644 --- a/cpu/blackfin/initcode.c +++ b/cpu/blackfin/initcode.c @@ -372,6 +372,10 @@ void initcode(ADI_BOOT_DATA *bootstruct) bfin_write_SIC_IWR(-1); #endif + /* tell the bootrom where our entry point is */ + if (CONFIG_BFIN_BOOT_MODE != BFIN_BOOT_BYPASS) + bfin_write_EVT1(CONFIG_SYS_MONITOR_BASE); + serial_putc('>'); serial_putc('\n'); |
