aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm644x-evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/board-dm644x-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm644x-evm.c25
1 files changed, 5 insertions, 20 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
index 71735e7797cc..a042f27fb6bc 100644
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -750,26 +750,11 @@ static int davinci_phy_fixup(struct phy_device *phydev)
750 return 0; 750 return 0;
751} 751}
752 752
753#if defined(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ 753#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710)
754 defined(CONFIG_BLK_DEV_PALMCHIP_BK3710_MODULE) 754
755#define HAS_ATA 1 755#define HAS_NOR IS_ENABLED(CONFIG_MTD_PHYSMAP)
756#else 756
757#define HAS_ATA 0 757#define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI)
758#endif
759
760#if defined(CONFIG_MTD_PHYSMAP) || \
761 defined(CONFIG_MTD_PHYSMAP_MODULE)
762#define HAS_NOR 1
763#else
764#define HAS_NOR 0
765#endif
766
767#if defined(CONFIG_MTD_NAND_DAVINCI) || \
768 defined(CONFIG_MTD_NAND_DAVINCI_MODULE)
769#define HAS_NAND 1
770#else
771#define HAS_NAND 0
772#endif
773 758
774static __init void davinci_evm_init(void) 759static __init void davinci_evm_init(void)
775{ 760{