summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2007-01-10 00:26:15 +0100
committerMarian Balakowicz <m8@semihalf.com>2007-01-10 00:26:15 +0100
commitd9384de2f571046e71081bae22b49e3d5ca2e3d5 (patch)
treefd84f240a39977980de64a6c2010c734bf790fb2 /board
parentf4eb54529bb3664c3a562e488b460fe075f79d67 (diff)
downloadblackbird-obmc-uboot-d9384de2f571046e71081bae22b49e3d5ca2e3d5.tar.gz
blackbird-obmc-uboot-d9384de2f571046e71081bae22b49e3d5ca2e3d5.zip
CAM5200 flash driver modifications:
- use CFI driver (replaces custom flash driver) for main 'cam5200' target - add second build target 'cam5200_niosflash' which still uses custom driver
Diffstat (limited to 'board')
-rw-r--r--board/tqm5200/cam5200_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/tqm5200/cam5200_flash.c b/board/tqm5200/cam5200_flash.c
index 8c3f62e398..b3f095d807 100644
--- a/board/tqm5200/cam5200_flash.c
+++ b/board/tqm5200/cam5200_flash.c
@@ -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) */
OpenPOWER on IntegriCloud