Patchwork [U-Boot] am33xx: pcm051: Remove wp pin mux for sd-card

login
register
mail settings
Submitter Lars Poeschel
Date Feb. 5, 2013, 9:13 a.m.
Message ID <1360055638-18921-1-git-send-email-larsi@wh2.tu-dresden.de>
Download mbox | patch
Permalink /patch/218187/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Lars Poeschel - Feb. 5, 2013, 9:13 a.m.
From: Lars Poeschel <poeschel@lemonage.de>

The pcm051 does not have the wp pin connected to the sd-card socket.
Therefore remove the pinmux for the pin. The was a carry-over from
the am335x evm code.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
---
 board/phytec/pcm051/mux.c |    1 -
 1 file changed, 1 deletion(-)
Tom Rini - Feb. 19, 2013, 4:16 p.m.
On Mon, Feb 04, 2013 at 11:13:58PM -0000, Lars Poeschel wrote:

> From: Lars Poeschel <poeschel@lemonage.de>
> 
> The pcm051 does not have the wp pin connected to the sd-card socket.
> Therefore remove the pinmux for the pin. The was a carry-over from
> the am335x evm code.
> 
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/board/phytec/pcm051/mux.c b/board/phytec/pcm051/mux.c
index 2cda331..74a873e 100644
--- a/board/phytec/pcm051/mux.c
+++ b/board/phytec/pcm051/mux.c
@@ -35,7 +35,6 @@  static struct module_pin_mux mmc0_pin_mux[] = {
 	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
 	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
 	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
-	{OFFSET(mcasp0_aclkr), (MODE(4) | RXACTIVE)},		/* MMC0_WP */
 	{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
 	{-1},
 };