aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-neuros-osd2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/board-neuros-osd2.c')
-rw-r--r--arch/arm/mach-davinci/board-neuros-osd2.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c
index 1c98107527fa..ea6728be53ba 100644
--- a/arch/arm/mach-davinci/board-neuros-osd2.c
+++ b/arch/arm/mach-davinci/board-neuros-osd2.c
@@ -167,20 +167,9 @@ static struct davinci_mmc_config davinci_ntosd2_mmc_config = {
167 .version = MMC_CTLR_VERSION_1 167 .version = MMC_CTLR_VERSION_1
168}; 168};
169 169
170#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710)
170 171
171#if defined(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ 172#define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI)
172 defined(CONFIG_BLK_DEV_PALMCHIP_BK3710_MODULE)
173#define HAS_ATA 1
174#else
175#define HAS_ATA 0
176#endif
177
178#if defined(CONFIG_MTD_NAND_DAVINCI) || \
179 defined(CONFIG_MTD_NAND_DAVINCI_MODULE)
180#define HAS_NAND 1
181#else
182#define HAS_NAND 0
183#endif
184 173
185static __init void davinci_ntosd2_init(void) 174static __init void davinci_ntosd2_init(void)
186{ 175{