summaryrefslogtreecommitdiff
path: root/drivers/mtd/jedec_flash.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-02-14 10:11:14 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-02-14 10:11:14 -0600
commit3f2175fa840925e2028c5d482e4cefa787cc8703 (patch)
tree37dab4aa866865e647beda2993e710b4f246fb8f /drivers/mtd/jedec_flash.c
parentd1bcf9e53b41dfa4be6943b739ee82627a0a6d31 (diff)
parentfe891ecf4d187e9d11dde869ed4623af52b54451 (diff)
Merge branch 'denx'
Diffstat (limited to 'drivers/mtd/jedec_flash.c')
-rw-r--r--drivers/mtd/jedec_flash.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c
index 94e87cbf00..41aad3bd6a 100644
--- a/drivers/mtd/jedec_flash.c
+++ b/drivers/mtd/jedec_flash.c
@@ -218,10 +218,6 @@ static const struct amd_flash_info jedec_table[] = {
#endif
};
-
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-
-
static inline void fill_info(flash_info_t *info, const struct amd_flash_info *jedec_entry, ulong base)
{
int i,j;