diff options
| author | Stefan Roese <sr@denx.de> | 2008-10-21 11:43:08 +0200 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2008-10-21 11:43:08 +0200 | 
| commit | f61f1e150c84f5b9347fca79a4bc5f2286c545d2 (patch) | |
| tree | ab90f076f18e56b2b3e8c9375b95917daa78c1d9 /board/esd/hub405/flash.c | |
| parent | ec081c2c190148b374e86a795fb6b1c49caeb549 (diff) | |
| parent | f82642e33899766892499b163e60560fbbf87773 (diff) | |
| download | olio-uboot-2014.01-f61f1e150c84f5b9347fca79a4bc5f2286c545d2.tar.xz olio-uboot-2014.01-f61f1e150c84f5b9347fca79a4bc5f2286c545d2.zip  | |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'board/esd/hub405/flash.c')
| -rw-r--r-- | board/esd/hub405/flash.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/hub405/flash.c b/board/esd/hub405/flash.c index 89af1190a..274ada9fe 100644 --- a/board/esd/hub405/flash.c +++ b/board/esd/hub405/flash.c @@ -48,7 +48,7 @@ unsigned long flash_init (void)  	int size_val = 0;  	/* Init: no FLASHes known */ -	for (i=0; i<CFG_MAX_FLASH_BANKS; ++i) { +	for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {  		flash_info[i].flash_id = FLASH_UNKNOWN;  	} @@ -91,7 +91,7 @@ unsigned long flash_init (void)  	/* Monitor protection ON by default */  	(void)flash_protect(FLAG_PROTECT_SET, -			    -CFG_MONITOR_LEN, +			    -CONFIG_SYS_MONITOR_LEN,  			    0xffffffff,  			    &flash_info[0]);  |