summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm644x-evm.c
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2017-03-22 19:21:01 +0100
committerSekhar Nori <nsekhar@ti.com>2017-03-30 16:15:29 +0530
commit28d4d1d0e49b4ac4d12861a64f45101f36fbfab8 (patch)
tree1b0b736133f4c1deb62e772aa9fb7baecd52e18b /arch/arm/mach-davinci/board-dm644x-evm.c
parent99228481331cdd75981767b23b83ef0ca7aa11da (diff)
downloadlinux-28d4d1d0e49b4ac4d12861a64f45101f36fbfab8.tar.gz
linux-28d4d1d0e49b4ac4d12861a64f45101f36fbfab8.tar.bz2
linux-28d4d1d0e49b4ac4d12861a64f45101f36fbfab8.zip
ARM: davinci: add pata_bk3710 libata driver support
Signed-off-by: Sekhar Nori <nsekhar@ti.com> [b.zolnierkie: split from bigger patch + preserved old driver support] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm644x-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm644x-evm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
index 023480b75244..20f1874a5657 100644
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -744,7 +744,8 @@ static int davinci_phy_fixup(struct phy_device *phydev)
return 0;
}
-#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710)
+#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
+ IS_ENABLED(CONFIG_PATA_BK3710))
#define HAS_NOR IS_ENABLED(CONFIG_MTD_PHYSMAP)