diff options
| author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 18:32:53 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 18:32:53 +0200 | 
| commit | d87080b721e4f8dca977af7571c5338ae7bb8db7 (patch) | |
| tree | 514fc21eec39a2dd57f7aea516844a4400f8f140 /board/mpl/common/common_util.c | |
| parent | f6dbbe986481cff01334c64cacb971a5f237a9a9 (diff) | |
| download | olio-uboot-2014.01-d87080b721e4f8dca977af7571c5338ae7bb8db7.tar.xz olio-uboot-2014.01-d87080b721e4f8dca977af7571c5338ae7bb8db7.zip | |
GCC-4.x fixes: clean up global data pointer initialization for all boards.
Diffstat (limited to 'board/mpl/common/common_util.c')
| -rw-r--r-- | board/mpl/common/common_util.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/board/mpl/common/common_util.c b/board/mpl/common/common_util.c index b331d6ec4..06d021a02 100644 --- a/board/mpl/common/common_util.c +++ b/board/mpl/common/common_util.c @@ -42,6 +42,9 @@  #include "../mip405/mip405.h"  #include <405gp_pci.h>  #endif + +DECLARE_GLOBAL_DATA_PTR; +  #if defined(CONFIG_PATI)  #define FIRM_START 0xFFF00000  #endif @@ -584,7 +587,6 @@ extern int get_boot_mode(void);  void video_get_info_str (int line_number, char *info)  {  	/* init video info strings for graphic console */ -	DECLARE_GLOBAL_DATA_PTR;  	PPC405_SYS_INFO sys_info;  	char rev;  	int i,boot; |