summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/board.c')
-rw-r--r--arch/arm/lib/board.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index b573b5a..8dc42ab 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -147,15 +147,9 @@ void start_armboot (void)
int result;
int i = 'a';
- /* Pointer is writable since we allocated a register for it */
- gd = (gd_t*)(_armboot_start - CFG_MALLOC_LEN - sizeof(gd_t));
/* compiler optimization barrier needed for GCC >= 3.4 */
__asm__ __volatile__("": : :"memory");
- memset ((void*)gd, 0, sizeof (gd_t));
- gd->bd = (bd_t*)((char*)gd - sizeof(bd_t));
- memset (gd->bd, 0, sizeof (bd_t));
-
monitor_flash_len = _bss_start - _armboot_start;
/* armboot_start is defined in the board-specific linker script */
@@ -170,8 +164,6 @@ void start_armboot (void)
display_banner();
- jumptable_init ();
-
/* enable exceptions */
enable_interrupts ();