summaryrefslogtreecommitdiff
path: root/drivers/cfi_flash.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-03-01 17:00:49 +0100
committerStefan Roese <sr@denx.de>2006-03-01 17:00:49 +0100
commitf18e874ad548034552cc4a2cdfe1a21edd9ca392 (patch)
tree3598ced185b1fc9460e028f15468d434c03a3a20 /drivers/cfi_flash.c
parentf6c0068fc1181dc6b6081addd84ee1cfc0a4977b (diff)
downloadu-boot-imx-f18e874ad548034552cc4a2cdfe1a21edd9ca392.zip
u-boot-imx-f18e874ad548034552cc4a2cdfe1a21edd9ca392.tar.gz
u-boot-imx-f18e874ad548034552cc4a2cdfe1a21edd9ca392.tar.bz2
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c
index df17da5..ff4d85f 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