summaryrefslogtreecommitdiff
path: root/drivers/mtd/jedec_flash.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2008-02-14 14:07:21 -0600
committerJon Loeliger <jdl@freescale.com>2008-02-14 14:07:21 -0600
commit746c4b9490495dc4381dbcc49f40078d423e0a48 (patch)
treee726020abb9e37df1fca19d8895bf203b27612d1 /drivers/mtd/jedec_flash.c
parent3f2ac8f928c76cbd2374437b2d079f8b4324aaba (diff)
parentfe891ecf4d187e9d11dde869ed4623af52b54451 (diff)
downloadu-boot-imx-746c4b9490495dc4381dbcc49f40078d423e0a48.zip
u-boot-imx-746c4b9490495dc4381dbcc49f40078d423e0a48.tar.gz
u-boot-imx-746c4b9490495dc4381dbcc49f40078d423e0a48.tar.bz2
Merge commit 'wd/master'
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 94e87cb..41aad3b 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;