diff options
| author | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
|---|---|---|
| committer | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
| commit | 50bd0057ba8fceeb48533f8b1a652ccd0e170838 (patch) | |
| tree | ea1a183343573c2a48248923b96d316c0956727c /board/sbc8240/flash.c | |
| parent | 9dbc366744960013965fce8851035b6141f3b3ae (diff) | |
| parent | f82642e33899766892499b163e60560fbbf87773 (diff) | |
| download | olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.tar.xz olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.zip | |
Merge git://git.denx.de/u-boot into x1
Conflicts:
	drivers/usb/usb_ohci.c
Diffstat (limited to 'board/sbc8240/flash.c')
| -rw-r--r-- | board/sbc8240/flash.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/board/sbc8240/flash.c b/board/sbc8240/flash.c index dec615683..a095753a4 100644 --- a/board/sbc8240/flash.c +++ b/board/sbc8240/flash.c @@ -32,10 +32,10 @@  #include <mpc824x.h>  #include <asm/processor.h> -#if CFG_MAX_FLASH_BANKS != 1 -#error "CFG_MAX_FLASH_BANKS must be 1" +#if CONFIG_SYS_MAX_FLASH_BANKS != 1 +#error "CONFIG_SYS_MAX_FLASH_BANKS must be 1"  #endif -flash_info_t flash_info[CFG_MAX_FLASH_BANKS];	/* info for FLASH chips        */ +flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];	/* info for FLASH chips        */  /*-----------------------------------------------------------------------   * Functions @@ -399,7 +399,7 @@ int wait_for_DQ7 (flash_info_t * info, int sect)  	last = start;  	while ((addr[0] & (FLASH_WORD_SIZE) 0x00800080) !=  	       (FLASH_WORD_SIZE) 0x00800080) { -		if ((now = get_timer (start)) > CFG_FLASH_ERASE_TOUT) { +		if ((now = get_timer (start)) > CONFIG_SYS_FLASH_ERASE_TOUT) {  			printf ("Timeout\n");  			return -1;  		} @@ -628,7 +628,7 @@ static int write_word (flash_info_t * info, ulong dest, ulong data)  		while ((dest2[i] & (FLASH_WORD_SIZE) 0x00800080) !=  		       (data2[i] & (FLASH_WORD_SIZE) 0x00800080)) { -			if (get_timer (start) > CFG_FLASH_WRITE_TOUT) { +			if (get_timer (start) > CONFIG_SYS_FLASH_WRITE_TOUT) {  				return (1);  			}  		} |