summaryrefslogtreecommitdiff
path: root/drivers/mtd/cfi_flash.c
diff options
context:
space:
mode:
authorMichael Schwingen <rincewind@discworld.dascon.de>2008-01-12 20:29:47 +0100
committerStefan Roese <sr@denx.de>2008-01-13 15:07:26 +0100
commit8225d1e3ac0ab147cdde4b0042812583380afb8a (patch)
tree3b27c3c2406db958e70eb9597de7e78e267ec0f0 /drivers/mtd/cfi_flash.c
parent8d79953d03e6c5b24215609997dafe4daa623cd6 (diff)
downloadu-boot-imx-8225d1e3ac0ab147cdde4b0042812583380afb8a.zip
u-boot-imx-8225d1e3ac0ab147cdde4b0042812583380afb8a.tar.gz
u-boot-imx-8225d1e3ac0ab147cdde4b0042812583380afb8a.tar.bz2
CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation
Signed-off-by: Michael Schwingen <michael@schwingen.org> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
-rw-r--r--drivers/mtd/cfi_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 4f61e36..eb509f5 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1446,11 +1446,11 @@ static void flash_read_jedec_ids (flash_info_t * info)
switch (info->vendor) {
case CFI_CMDSET_INTEL_STANDARD:
case CFI_CMDSET_INTEL_EXTENDED:
- flash_read_jedec_ids_intel(info);
+ cmdset_intel_read_jedec_ids(info);
break;
case CFI_CMDSET_AMD_STANDARD:
case CFI_CMDSET_AMD_EXTENDED:
- flash_read_jedec_ids_amd(info);
+ cmdset_amd_read_jedec_ids(info);
break;
default:
break;