Commit 28d4d1d0 authored by Sekhar Nori's avatar Sekhar Nori

ARM: davinci: add pata_bk3710 libata driver support

Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
[b.zolnierkie: split from bigger patch + preserved old driver support]
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 99228481
...@@ -744,7 +744,8 @@ static int davinci_phy_fixup(struct phy_device *phydev) ...@@ -744,7 +744,8 @@ static int davinci_phy_fixup(struct phy_device *phydev)
return 0; 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) #define HAS_NOR IS_ENABLED(CONFIG_MTD_PHYSMAP)
......
...@@ -119,7 +119,8 @@ static struct platform_device davinci_nand_device = { ...@@ -119,7 +119,8 @@ static struct platform_device davinci_nand_device = {
}, },
}; };
#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))
#ifdef CONFIG_I2C #ifdef CONFIG_I2C
/* CPLD Register 0 bits to control ATA */ /* CPLD Register 0 bits to control ATA */
......
...@@ -163,7 +163,8 @@ static struct davinci_mmc_config davinci_ntosd2_mmc_config = { ...@@ -163,7 +163,8 @@ static struct davinci_mmc_config davinci_ntosd2_mmc_config = {
.wires = 4, .wires = 4,
}; };
#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_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI) #define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment