From f18e874ad548034552cc4a2cdfe1a21edd9ca392 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 1 Mar 2006 17:00:49 +0100 Subject: Fix problem with flash_get_size() from CFI driver update Patch by Stefan Roese, 1 Mar 2006 --- drivers/cfi_flash.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/cfi_flash.c') diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index df17da5eaf..ff4d85f3f0 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 -- cgit v1.2.1