From: Michael Schwingen Date: Sat, 12 Jan 2008 19:29:47 +0000 (+0100) Subject: CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=8225d1e3ac0ab147cdde4b0042812583380afb8a;p=u-boot.git CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation Signed-off-by: Michael Schwingen Acked-by: Stefan Roese --- diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 4f61e365e8..eb509f5557 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;