Patchwork [U-Boot] am335x: add mux config for DDR3 version of beaglebone

login
register
mail settings
Submitter Koen Kooi
Date Oct. 23, 2012, 11:56 a.m.
Message ID <1350993400-20653-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/193478/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Koen Kooi - Oct. 23, 2012, 11:56 a.m.
This fixes the following boothang in SPL:

	Unknown board, cannot configure pinmux.### ERROR ### Please RESET the board ###

Future commits will add pinmuxes for more on-board peripherals.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 board/ti/am335x/mux.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index 80becd5..73d2173 100644
--- a/board/ti/am335x/mux.c
+++ b/board/ti/am335x/mux.c
@@ -448,6 +448,12 @@  void enable_board_pin_mux(struct am335x_baseboard_id *header)
 		configure_module_pin_mux(gpio0_7_pin_mux);
 		configure_module_pin_mux(rgmii1_pin_mux);
 		configure_module_pin_mux(mmc0_pin_mux_sk_evm);
+	} else if (!strncmp(header->name, "A335BNLT", HDR_NAME_LEN)) {
+		/* Beaglebone LT pinmux */
+		configure_module_pin_mux(i2c1_pin_mux);
+		configure_module_pin_mux(mii1_pin_mux);
+		configure_module_pin_mux(mmc0_pin_mux);
+		configure_module_pin_mux(mmc1_pin_mux);
 	} else {
 		puts("Unknown board, cannot configure pinmux.");
 		hang();