diff options
| author | Wolfgang Denk <wd@denx.de> | 2010-11-12 22:24:06 +0100 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2010-11-12 22:24:06 +0100 | 
| commit | d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0 (patch) | |
| tree | 07dd5889d73f4b66ad608815adcf6f2f953d9501 /arch/blackfin/lib/board.c | |
| parent | 66fca016057b1c6b697552cc7220ebada9d4f82d (diff) | |
| parent | 0c0892be0d93a5a892b93739c5eb3bf692fed4ff (diff) | |
| download | olio-uboot-2014.01-d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0.tar.xz olio-uboot-2014.01-d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0.zip | |
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'arch/blackfin/lib/board.c')
| -rw-r--r-- | arch/blackfin/lib/board.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index fcfd1746a..8eca7d6fb 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -237,12 +237,12 @@ void board_init_f(ulong bootflag)  #endif  #ifdef DEBUG -	if (CONFIG_SYS_GBL_DATA_SIZE < sizeof(*gd)) +	if (GENERATED_GBL_DATA_SIZE < sizeof(*gd))  		hang();  #endif  	serial_early_puts("Init global data\n");  	gd = (gd_t *) (CONFIG_SYS_GBL_DATA_ADDR); -	memset((void *)gd, 0, CONFIG_SYS_GBL_DATA_SIZE); +	memset((void *)gd, 0, GENERATED_GBL_DATA_SIZE);  	/* Board data initialization */  	addr = (CONFIG_SYS_GBL_DATA_ADDR + sizeof(gd_t)); |