summaryrefslogtreecommitdiffstats
path: root/sys/arm/ti/ti_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/ti/ti_sdhci.c')
-rw-r--r--sys/arm/ti/ti_sdhci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arm/ti/ti_sdhci.c b/sys/arm/ti/ti_sdhci.c
index 7befa8c..63aeb9b 100644
--- a/sys/arm/ti/ti_sdhci.c
+++ b/sys/arm/ti/ti_sdhci.c
@@ -494,9 +494,7 @@ ti_sdhci_attach(device_t dev)
* Set the offset from the device's memory start to the MMCHS registers.
* Also for OMAP4 disable high speed mode due to erratum ID i626.
*/
- if (ti_chip() == CHIP_OMAP_3)
- sc->mmchs_reg_off = OMAP3_MMCHS_REG_OFFSET;
- else if (ti_chip() == CHIP_OMAP_4) {
+ if (ti_chip() == CHIP_OMAP_4) {
sc->mmchs_reg_off = OMAP4_MMCHS_REG_OFFSET;
sc->disable_highspeed = true;
} else if (ti_chip() == CHIP_AM335X)
OpenPOWER on IntegriCloud