[U-Boot-Users] [PATCH] fix CONFIG_FLASH_CFI_LEGACY compilation
Michael Schwingen
michael at schwingen.org
Sat Jan 12 14:43:01 CET 2008
On Sat, Jan 12, 2008 at 07:27:49AM +0100, Stefan Roese wrote:
>
> No. You CFI/JEDEC rework should be available in the official repository right
> now. Could be that something slipped though. Best would be if you would
> provide a patch that adds the missing JEDEC stuff.
Okay - after a closer look, just a small change is required.
Signed-off-by: Michael Schwingen <michael at schwingen.org>
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 4f61e36..3a3439c 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_amd_read_jedec_ids(info);
break;
case CFI_CMDSET_AMD_STANDARD:
case CFI_CMDSET_AMD_EXTENDED:
- flash_read_jedec_ids_amd(info);
+ cmdset_intel_read_jedec_ids(info);
break;
default:
break;
More information about the U-Boot
mailing list