projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tegra: mmc: Set the bus width correctly
[platform/kernel/u-boot.git]
/
drivers
/
mmc
/
tegra_mmc.c
diff --git
a/drivers/mmc/tegra_mmc.c
b/drivers/mmc/tegra_mmc.c
index
338e42b
..
7d945a1
100644
(file)
--- a/
drivers/mmc/tegra_mmc.c
+++ b/
drivers/mmc/tegra_mmc.c
@@
-438,7
+438,7
@@
static int tegra_mmc_set_ios(struct udevice *dev)
else if (mmc->bus_width == 4)
ctrl |= (1 << 1);
else
- ctrl &= ~(1 << 1);
+ ctrl &= ~(1 << 1
| 1 << 5
);
writeb(ctrl, &priv->reg->hostctl);
debug("mmc_set_ios: hostctl = %08X\n", ctrl);