]> git.sur5r.net Git - u-boot/blobdiff - board/tqm5200/cam5200_flash.c
POST: Add 405EX support to 4xx UART POST test
[u-boot] / board / tqm5200 / cam5200_flash.c
index 8c3f62e398cef2d15e939498cc3da910e3aa01f4..b3f095d807f3366af1412f6b04f77f94f4602bbc 100644 (file)
@@ -25,7 +25,7 @@
 #include <mpc5xxx.h>
 #include <asm/processor.h>
 
-#ifdef CONFIG_CAM5200
+#if defined(CONFIG_CAM5200) && defined(CONFIG_CAM5200_NIOSFLASH)
 
 #if 0
 #define DEBUGF(x...) printf(x)
@@ -783,4 +783,4 @@ unsigned long flash_init(void)
 
        return total_b;
 }
-#endif /* ifdef CONFIG_CAM5200 */
+#endif /* if defined(CONFIG_CAM5200) && defined(CONFIG_CAM5200_NIOSFLASH) */