summaryrefslogtreecommitdiff
path: root/drivers/mtd/jedec_flash.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-12-08 08:25:09 +0100
committerStefan Roese <sr@denx.de>2007-12-08 08:25:09 +0100
commit9692c2734a47f23b44a0f68042a3e2ca8d1bfb39 (patch)
treed2c24b64a2d5952b05446db5e9dcf583358b86c0 /drivers/mtd/jedec_flash.c
parent81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22 (diff)
downloadu-boot-imx-9692c2734a47f23b44a0f68042a3e2ca8d1bfb39.zip
u-boot-imx-9692c2734a47f23b44a0f68042a3e2ca8d1bfb39.tar.gz
u-boot-imx-9692c2734a47f23b44a0f68042a3e2ca8d1bfb39.tar.bz2
CFI: Coding style cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/jedec_flash.c')
-rw-r--r--drivers/mtd/jedec_flash.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c
index 719ad20..94e87cb 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;
}
-