summaryrefslogtreecommitdiff
path: root/drivers
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
parentf6c0068fc1181dc6b6081addd84ee1cfc0a4977b (diff)
Fix problem with flash_get_size() from CFI driver update
Patch by Stefan Roese, 1 Mar 2006
Diffstat (limited to 'drivers')
-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 df17da5eafb..ff4d85f3f0d 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