diff options
Diffstat (limited to 'arch/arm/mach-davinci/board-dm644x-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm644x-evm.c | 25 |
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 e62108fd7926..a33686a6fbb2 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c | |||
@@ -749,26 +749,11 @@ static int davinci_phy_fixup(struct phy_device *phydev) | |||
749 | return 0; | 749 | return 0; |
750 | } | 750 | } |
751 | 751 | ||
752 | #if defined(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ | 752 | #define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) |
753 | defined(CONFIG_BLK_DEV_PALMCHIP_BK3710_MODULE) | 753 | |
754 | #define HAS_ATA 1 | 754 | #define HAS_NOR IS_ENABLED(CONFIG_MTD_PHYSMAP) |
755 | #else | 755 | |
756 | #define HAS_ATA 0 | 756 | #define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI) |
757 | #endif | ||
758 | |||
759 | #if defined(CONFIG_MTD_PHYSMAP) || \ | ||
760 | defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
761 | #define HAS_NOR 1 | ||
762 | #else | ||
763 | #define HAS_NOR 0 | ||
764 | #endif | ||
765 | |||
766 | #if defined(CONFIG_MTD_NAND_DAVINCI) || \ | ||
767 | defined(CONFIG_MTD_NAND_DAVINCI_MODULE) | ||
768 | #define HAS_NAND 1 | ||
769 | #else | ||
770 | #define HAS_NAND 0 | ||
771 | #endif | ||
772 | 757 | ||
773 | static __init void davinci_evm_init(void) | 758 | static __init void davinci_evm_init(void) |
774 | { | 759 | { |