commit | 6405a159ed386bdd915889dff52ff9d300326887 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Fri Mar 31 18:32:53 2006 +0200 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Fri Mar 31 18:32:53 2006 +0200 |
tree | 514fc21eec39a2dd57f7aea516844a4400f8f140 | |
parent | 7154013f861b5722efd645131c0b7f8a5d74d073 [diff] [blame] |
GCC-4.x fixes: clean up global data pointer initialization for all boards.
diff --git a/lib_microblaze/board.c b/lib_microblaze/board.c index bc987a3..026d247 100644 --- a/lib_microblaze/board.c +++ b/lib_microblaze/board.c
@@ -28,6 +28,8 @@ #include <version.h> #include <watchdog.h> +DECLARE_GLOBAL_DATA_PTR; + const char version_string[] = U_BOOT_VERSION" (" __DATE__ " - " __TIME__ ")"; @@ -72,8 +74,6 @@ void board_init(void) { - DECLARE_GLOBAL_DATA_PTR; - bd_t *bd; init_fnc_t **init_fnc_ptr;