summaryrefslogtreecommitdiff
path: root/board/icecube/flash.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-17 11:42:53 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-17 11:42:53 +0100
commit09e4b0c5d3881412519f33d498560a5bbcc82cd9 (patch)
tree691b37e2fc2772d0c03aa5f58b2c3d93bad183f8 /board/icecube/flash.c
parentff7fefe6797246b2748530f965f2e41de34a982a (diff)
downloadu-boot-imx-09e4b0c5d3881412519f33d498560a5bbcc82cd9.zip
u-boot-imx-09e4b0c5d3881412519f33d498560a5bbcc82cd9.tar.gz
u-boot-imx-09e4b0c5d3881412519f33d498560a5bbcc82cd9.tar.bz2
Add support for Lite5200B board.
Patch by Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
Diffstat (limited to 'board/icecube/flash.c')
-rw-r--r--board/icecube/flash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/icecube/flash.c b/board/icecube/flash.c
index 713011c..15e86d3 100644
--- a/board/icecube/flash.c
+++ b/board/icecube/flash.c
@@ -23,6 +23,7 @@
#include <common.h>
+#ifndef CFG_FLASH_CFI_DRIVER
flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */
/* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
@@ -489,3 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
return (res);
}
+#endif /*CFG_FLASH_CFI_DRIVER*/