X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fdave%2FPPChameleonEVB%2Fflash.c;h=237c807b4ffde5d30ddde043e8e27050c2f5f337;hb=0bf7de838096e804f0cece8f2d94905477381b6e;hp=692d275a59eca43dfd36e9ec2fa0a124ae6c176e;hpb=e55ca7e2624988f82d6f77ddab54246621260c8b;p=u-boot diff --git a/board/dave/PPChameleonEVB/flash.c b/board/dave/PPChameleonEVB/flash.c index 692d275a59..237c807b4f 100644 --- a/board/dave/PPChameleonEVB/flash.c +++ b/board/dave/PPChameleonEVB/flash.c @@ -42,7 +42,7 @@ static void flash_get_offsets (ulong base, flash_info_t * info); unsigned long flash_init (void) { #ifdef __DEBUG_START_FROM_SRAM__ - return CFG_DUMMY_FLASH_SIZE; + return CONFIG_SYS_DUMMY_FLASH_SIZE; #else unsigned long size; int i; @@ -54,7 +54,7 @@ unsigned long flash_init (void) debug("[%s, %d] flash_info = 0x%08X ...\n", __FUNCTION__, __LINE__, flash_info); /* Init: no FLASHes known */ - for (i=0; i