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

Jamie Lentin jm at lentin.co.uk
Sat Aug 4 22:50:26 CEST 2012


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.rc0


--nextPart4865267.uKsPz0LYNz
Content-Disposition: attachment; filename="0004-kirkwood-Shorten-DNS-325-IDENT_STRING-to-match-DNS-3.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-diff; charset="utf-8"; name="0004-kirkwood-Shorten-DNS-325-IDENT_STRING-to-match-DNS-3.patch"



More information about the U-Boot mailing list