[U-Boot-Users] [PATCH] fix CONFIG_FLASH_CFI_LEGACY compilation

Michael Schwingen rincewind at discworld.dascon.de
Sat Jan 12 20:29:47 CET 2008


On Sat, Jan 12, 2008 at 07:48:26PM +0100, Wolfgang Denk wrote:
> Hm... either you got the patch inverse, or something is seriously
> broken:

I vote for the second option - don't know what got into me. The strange
thing is that it worked, nevertheless ...

cu
Michael

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..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;





More information about the U-Boot mailing list