Fix:
flash.c: In function 'flash_init':
flash.c:47:25: warning: variable 'base_b1' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Wolfgang Denk <wd@denx.de>
{
int i;
unsigned long size_b0, base_b0;
- unsigned long size_b1, base_b1;
+ unsigned long size_b1;
/* Init: no FLASHes known */
for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; ++i)
/* Calculate base addresses */
base_b0 = -size_b0;
- base_b1 = -size_b1;
/* Setup offsets for Boot Flash */
flash_get_offsets(base_b0, &flash_info[0]);