diff options
| author | Stefan Roese <sr@denx.de> | 2006-03-01 17:00:49 +0100 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2006-03-01 17:00:49 +0100 | 
| commit | f18e874ad548034552cc4a2cdfe1a21edd9ca392 (patch) | |
| tree | 3598ced185b1fc9460e028f15468d434c03a3a20 /drivers/cfi_flash.c | |
| parent | f6c0068fc1181dc6b6081addd84ee1cfc0a4977b (diff) | |
| download | olio-uboot-2014.01-f18e874ad548034552cc4a2cdfe1a21edd9ca392.tar.xz olio-uboot-2014.01-f18e874ad548034552cc4a2cdfe1a21edd9ca392.zip | |
Fix problem with flash_get_size() from CFI driver update
Patch by Stefan Roese, 1 Mar 2006
Diffstat (limited to 'drivers/cfi_flash.c')
| -rw-r--r-- | drivers/cfi_flash.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index df17da5ea..ff4d85f3f 100644 --- a/drivers/cfi_flash.c +++ b/drivers/cfi_flash.c @@ -203,6 +203,7 @@ static int flash_detect_cfi (flash_info_t * info);  static int flash_write_cfiword (flash_info_t * info, ulong dest, cfiword_t cword);  static int flash_full_status_check (flash_info_t * info, flash_sect_t sector,  				    ulong tout, char *prompt); +ulong flash_get_size (ulong base, int banknum);  #if defined(CFG_ENV_IS_IN_FLASH) || defined(CFG_ENV_ADDR_REDUND) || (CFG_MONITOR_BASE >= CFG_FLASH_BASE)  static flash_info_t *flash_get_info(ulong base);  #endif |