summaryrefslogtreecommitdiffstats
path: root/board/prodrive/pdnb3/flash.c
diff options
context:
space:
mode:
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 d0e5fe703b..518ea9c031 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 */
OpenPOWER on IntegriCloud