diff options
Diffstat (limited to 'board/renesas/sh7763rdp/sh7763rdp.c')
| -rw-r--r-- | board/renesas/sh7763rdp/sh7763rdp.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/board/renesas/sh7763rdp/sh7763rdp.c b/board/renesas/sh7763rdp/sh7763rdp.c index 88bab70e3..9f44b9afb 100644 --- a/board/renesas/sh7763rdp/sh7763rdp.c +++ b/board/renesas/sh7763rdp/sh7763rdp.c @@ -25,6 +25,8 @@  #include <asm/io.h>  #include <asm/processor.h> +DECLARE_GLOBAL_DATA_PTR; +  #define CPU_CMDREG	0xB1000006  #define PDCR        0xffef0006  #define PECR        0xffef0008 @@ -64,8 +66,6 @@ int board_init(void)  int dram_init(void)  { -	DECLARE_GLOBAL_DATA_PTR; -  	gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;  	gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;  	printf("DRAM:  %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024)); |