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

Bastien ROUCARIÈS roucaries.bastien at gmail.com
Fri Jul 4 22:08:54 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 at marvell.com
Cc: albert.u.boot at aribaud.net
Cc: stefan at 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



More information about the U-Boot mailing list