diff mbox series

[U-Boot] board: am335x/mux: configure the pins for 8-bit data transfer on MMC1

Message ID 20190523120723.24621-1-jjhiblot@ti.com
State Accepted
Commit c5646270d1783982fc76eff831e5f3e63cb626cd
Delegated to: Tom Rini
Headers show
Series [U-Boot] board: am335x/mux: configure the pins for 8-bit data transfer on MMC1 | expand

Commit Message

Jean-Jacques Hiblot May 23, 2019, 12:07 p.m. UTC
This is required for proper operation of the 8-bit data transfers.
This fixes transient errors seen on BeagleBone Black.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
---
 board/ti/am335x/mux.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Tom Rini June 5, 2019, 7:51 p.m. UTC | #1
On Thu, May 23, 2019 at 02:07:23PM +0200, Jean-Jacques Hiblot wrote:

> This is required for proper operation of the 8-bit data transfers.
> This fixes transient errors seen on BeagleBone Black.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index 37a599768b..6e1ede3933 100644
--- a/board/ti/am335x/mux.c
+++ b/board/ti/am335x/mux.c
@@ -93,6 +93,10 @@  static struct module_pin_mux mmc0_pin_mux_sk_evm[] = {
 };
 
 static struct module_pin_mux mmc1_pin_mux[] = {
+	{OFFSET(gpmc_ad7), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT7 */
+	{OFFSET(gpmc_ad6), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT6 */
+	{OFFSET(gpmc_ad5), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT5 */
+	{OFFSET(gpmc_ad4), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT4 */
 	{OFFSET(gpmc_ad3), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT3 */
 	{OFFSET(gpmc_ad2), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT2 */
 	{OFFSET(gpmc_ad1), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT1 */