diff options
author | wdenk <wdenk> | 2004-05-19 21:33:14 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-05-19 21:33:14 +0000 |
commit | e4cc71aa4403c82f0b3e89087024f83832ece9ec (patch) | |
tree | 48c8295c714dfbfe7be70796c87b41c2065f166f /lib_nios/board.c | |
parent | 10767ccb86e0413633e7d89fbbb354014288b036 (diff) | |
download | bootable_bootloader_goldelico_gta04-e4cc71aa4403c82f0b3e89087024f83832ece9ec.zip bootable_bootloader_goldelico_gta04-e4cc71aa4403c82f0b3e89087024f83832ece9ec.tar.gz bootable_bootloader_goldelico_gta04-e4cc71aa4403c82f0b3e89087024f83832ece9ec.tar.bz2 |
Patch by Scott McNutt, 25 Apr 2004:
Add Nios GDB/JTAG Console support:
- Add stubs to support gdb via JTAG.
- Add support for console over JTAG.
- Minor cleanup.
Diffstat (limited to 'lib_nios/board.c')
-rw-r--r-- | lib_nios/board.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib_nios/board.c b/lib_nios/board.c index d6c02d8..30044f7 100644 --- a/lib_nios/board.c +++ b/lib_nios/board.c @@ -49,7 +49,6 @@ extern void malloc_bin_reloc (void); typedef int (init_fnc_t) (void); -extern unsigned _vectors[]; /* * Begin and End of memory area for malloc(), and current "brk" @@ -120,10 +119,6 @@ void board_init (void) gd = (gd_t *)CFG_GBL_DATA_OFFSET; memset( gd, 0, CFG_GBL_DATA_SIZE ); - /* Copy exception vectors to the correct location. - */ - memcpy( (void *)CFG_VECT_BASE, _vectors, 256 ); - gd->bd = (bd_t *)(gd+1); /* At end of global data */ gd->baudrate = CONFIG_BAUDRATE; gd->cpu_clk = CONFIG_SYS_CLK_FREQ; |