summaryrefslogtreecommitdiff
path: root/src/flash/nand.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:35 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit8f4860d13f03c40b28bb32e9cb0f1d650e200ce9 (patch)
tree88cb3f40b8290d2e68286f54db3525c8b6e985be /src/flash/nand.c
parent86053523875d18151f3dd0b53bf30e07eec2acf2 (diff)
downloadopenocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.tar.gz
openocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.tar.bz2
openocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.tar.xz
openocd+libswd-8f4860d13f03c40b28bb32e9cb0f1d650e200ce9.zip
nand_ecclayout_t -> struct nand_ecclayout
Remove misleading typedef and redundant suffix from struct nand_ecclayout.
Diffstat (limited to 'src/flash/nand.c')
-rw-r--r--src/flash/nand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c
index 1249327a..b2017c3d 100644
--- a/src/flash/nand.c
+++ b/src/flash/nand.c
@@ -173,7 +173,7 @@ static nand_manufacturer_t nand_manuf_ids[] =
*/
#if 0
-static nand_ecclayout_t nand_oob_8 = {
+static struct nand_ecclayout nand_oob_8 = {
.eccbytes = 3,
.eccpos = {0, 1, 2},
.oobfree = {
@@ -184,7 +184,7 @@ static nand_ecclayout_t nand_oob_8 = {
};
#endif
-static nand_ecclayout_t nand_oob_16 = {
+static struct nand_ecclayout nand_oob_16 = {
.eccbytes = 6,
.eccpos = {0, 1, 2, 3, 6, 7},
.oobfree = {
@@ -192,7 +192,7 @@ static nand_ecclayout_t nand_oob_16 = {
. length = 8}}
};
-static nand_ecclayout_t nand_oob_64 = {
+static struct nand_ecclayout nand_oob_64 = {
.eccbytes = 24,
.eccpos = {
40, 41, 42, 43, 44, 45, 46, 47,