From: Stefan Roese Date: Sat, 8 Dec 2007 07:25:09 +0000 (+0100) Subject: CFI: Coding style cleanup X-Git-Tag: v1.3.2-rc1~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9692c2734a47f23b44a0f68042a3e2ca8d1bfb39;p=oweals%2Fu-boot.git CFI: Coding style cleanup Signed-off-by: Stefan Roese --- diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index 719ad20416..94e87cbf00 100644 --- a/drivers/mtd/jedec_flash.c +++ b/drivers/mtd/jedec_flash.c @@ -175,7 +175,7 @@ static const struct amd_flash_info jedec_table[] = { .mfr_id = MANUFACTURER_SST, .dev_id = SST39LF020, .name = "SST 39LF020", - .uaddr = { + .uaddr = { [0] = MTD_UADDR_0x5555_0x2AAA /* x8 */ }, .DevSize = SIZE_256KiB, @@ -184,7 +184,7 @@ static const struct amd_flash_info jedec_table[] = { .regions = { ERASEINFO(0x01000,64), } - }, + }, #endif #ifdef CFG_FLASH_LEGACY_512Kx8 { @@ -205,7 +205,7 @@ static const struct amd_flash_info jedec_table[] = { .mfr_id = MANUFACTURER_SST, .dev_id = SST39LF040, .name = "SST 39LF040", - .uaddr = { + .uaddr = { [0] = MTD_UADDR_0x5555_0x2AAA /* x8 */ }, .DevSize = SIZE_512KiB, @@ -214,7 +214,7 @@ static const struct amd_flash_info jedec_table[] = { .regions = { ERASEINFO(0x01000,128), } - }, + }, #endif }; @@ -309,4 +309,3 @@ int jedec_flash_match(flash_info_t *info, ulong base) } return ret; } -