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/earthlcd/favr-32-ezkit/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/earthlcd/favr-32-ezkit/flash.c')
| -rw-r--r-- | board/earthlcd/favr-32-ezkit/flash.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/board/earthlcd/favr-32-ezkit/flash.c b/board/earthlcd/favr-32-ezkit/flash.c index 2aa9415e8..5f73ff04d 100644 --- a/board/earthlcd/favr-32-ezkit/flash.c +++ b/board/earthlcd/favr-32-ezkit/flash.c @@ -53,17 +53,17 @@ unsigned long flash_init(void)  	unsigned long addr;  	unsigned int i; -	flash_info[0].size = CFG_FLASH_SIZE; +	flash_info[0].size = CONFIG_SYS_FLASH_SIZE;  	flash_info[0].sector_count = 135; -	flash_identify(uncached((void *)CFG_FLASH_BASE), &flash_info[0]); +	flash_identify(uncached((void *)CONFIG_SYS_FLASH_BASE), &flash_info[0]);  	for (i = 0, addr = 0; i < 8; i++, addr += 0x2000)  		flash_info[0].start[i] = addr;  	for (; i < flash_info[0].sector_count; i++, addr += 0x10000)  		flash_info[0].start[i] = addr; -	return CFG_FLASH_SIZE; +	return CONFIG_SYS_FLASH_SIZE;  }  void flash_print_info(flash_info_t *info) |