summaryrefslogtreecommitdiff
path: root/board/prodrive/pdnb3/flash.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-01-18 16:05:47 +0100
committerStefan Roese <sr@denx.de>2007-01-18 16:05:47 +0100
commit9d8d5a5bfb64768f29a0cb47fc37cd6f4c40e276 (patch)
tree43e50b8392361c983ca734135e3518d76c8fc806 /board/prodrive/pdnb3/flash.c
parent0057d758e3e874cbe7f24745d0cce8c1cb6c207e (diff)
downloadu-boot-imx-9d8d5a5bfb64768f29a0cb47fc37cd6f4c40e276.zip
u-boot-imx-9d8d5a5bfb64768f29a0cb47fc37cd6f4c40e276.tar.gz
u-boot-imx-9d8d5a5bfb64768f29a0cb47fc37cd6f4c40e276.tar.bz2
[PATCH] Add support for Prodrive SCPU (PDNB3 variant) board
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/prodrive/pdnb3/flash.c')
-rw-r--r--board/prodrive/pdnb3/flash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/prodrive/pdnb3/flash.c b/board/prodrive/pdnb3/flash.c
index d0e5fe7..518ea9c 100644
--- a/board/prodrive/pdnb3/flash.c
+++ b/board/prodrive/pdnb3/flash.c
@@ -24,6 +24,8 @@
#include <common.h>
#include <asm/arch/ixp425.h>
+#if !defined(CFG_FLASH_CFI_DRIVER)
+
/*
* include common flash code (for esd boards)
*/
@@ -83,3 +85,5 @@ unsigned long flash_init(void)
return size;
}
+
+#endif /* CFG_FLASH_CFI_DRIVER */