[U-Boot] [PATCH 3/4] kirkwood: Set unused SD pins back to GPIO for DNS-320 & DNS-325

Bastien ROUCARIÈS roucaries.bastien at gmail.com
Sun May 18 18:21:28 CEST 2014


From: Jamie Lentin <jm at lentin.co.uk>

Neither device makes any use of the SD reader functionalty, so as
suggested by Stefan Herbrechtsmeier, set the pins to GPIO instead
to make this more obvious. Label MPP10 & MPP11's use whilst here.

Signed-off-by: Jamie Lentin <jm at lentin.co.uk>
Cc: Prafulla Wadaskar <prafulla at marvell.com>
Cc: Jamie Lentin <jm at lentin.co.uk>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
Cc: Stefan Herbrechtsmeier <stefan at code.herbrechtsmeier.net>

---
 board/d-link/dnskw/dnskw.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/board/d-link/dnskw/dnskw.c b/board/d-link/dnskw/dnskw.c
index a9fa9a2..90cb92e 100644
--- a/board/d-link/dnskw/dnskw.c
+++ b/board/d-link/dnskw/dnskw.c
@@ -39,14 +39,14 @@ int board_early_init_f(void)
 		MPP7_GPO,
 		MPP8_TW_SDA,
 		MPP9_TW_SCK,
-		MPP10_UART0_TXD,
-		MPP11_UART0_RXD,
-		MPP12_SD_CLK,
+		MPP10_UART0_TXD,	/* 5 pin ...*/
+		MPP11_UART0_RXD,	/* ... console header */
+		MPP12_GPO,
 		MPP13_UART1_TXD,	/* Custom ...*/
 		MPP14_UART1_RXD,	/* ... controller */
-		MPP15_SD_D1,
-		MPP16_SD_D2,
-		MPP17_SD_D3,
+		MPP15_GPIO,
+		MPP16_GPIO,
+		MPP17_GPIO,
 		MPP18_NF_IO0,
 		MPP19_NF_IO1,
 		MPP20_SATA1_ACTn,	/* sata1(left) status led */
-- 
2.0.0.rc0



More information about the U-Boot mailing list