summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-02-10 09:53:29 +0100
committerStefan Roese <sr@denx.de>2009-02-11 17:01:17 +0100
commit4f975678de995b55749d5e84590c268972a7c835 (patch)
tree363ee422d2bd39277cc6e33f973004acf1652bbe /drivers/mtd
parentae5d8f613cec1a6af7bf1fc9c42a3b856f021023 (diff)
downloadu-boot-imx-4f975678de995b55749d5e84590c268972a7c835.zip
u-boot-imx-4f975678de995b55749d5e84590c268972a7c835.tar.gz
u-boot-imx-4f975678de995b55749d5e84590c268972a7c835.tar.bz2
cfi: make flash_get_info() non static
If on your board is more than one flash, you must know the size of every single flash, for example, for updating the DTS before booting Linux. So make this function flash_get_info() extern, and you can have all info about your flashes. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/cfi_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 04a9a92..a66feac 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -273,7 +273,7 @@ u64 flash_read64(void *addr)__attribute__((weak, alias("__flash_read64")));
/*-----------------------------------------------------------------------
*/
#if defined(CONFIG_ENV_IS_IN_FLASH) || defined(CONFIG_ENV_ADDR_REDUND) || (CONFIG_SYS_MONITOR_BASE >= CONFIG_SYS_FLASH_BASE)
-static flash_info_t *flash_get_info(ulong base)
+flash_info_t *flash_get_info(ulong base)
{
int i;
flash_info_t * info = 0;