[PATCH] Add support for Prodrive SCPU (PDNB3 variant) board

Signed-off-by: Stefan Roese <sr@denx.de>
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 @@
 
 	return size;
 }
+
+#endif /* CFG_FLASH_CFI_DRIVER */