armv7: nuke global_data.h and remove some references to gd struct

This begins to remove references to global data which u-boot used.
There are still many commented out references to gd-> and bd-> which
we'll fix once we're happy with the replacements.

Change-Id: Ie1b40a997e28a118f8f3ad96a2f9a2462d32fbe3
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2210
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
David Hendricks
2013-01-28 12:24:54 -08:00
parent 4a484203d0
commit 1fb9bfa0f9
4 changed files with 3 additions and 131 deletions

View File

@@ -55,9 +55,6 @@
#include <arch/io.h>
/* FIXME(dhendrix): clean out u-boot global data stuff */
//DECLARE_GLOBAL_DATA_PTR;
#define OM_STAT (0x1f << 1)
/**
@@ -344,15 +341,6 @@ void board_init_f(void)
hlt();
}
/* Place Holders */
void board_init_r(gd_t *id, ulong dest_addr)
{
/* Function attribute is no-return */
/* This Function never executes */
while (1)
;
}
//void save_boot_params(u32 r0, u32 r1, u32 r2, u32 r3) {}
#if 0