[U-Boot] [PATCH 6/8] Tegra124: Add generic T124 build support

Tom Warren twarren.nvidia at gmail.com
Tue Oct 8 00:42:56 CEST 2013


Basic Tegra124 build support added - no specific
board is targeted.

Change-Id: Id16b44b5b394e03b121e702eaef2f49f55ab3da3
Signed-off-by: Tom Warren <twarren at nvidia.com>
---
 board/nvidia/common/board.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 126e56e..3f78787 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -77,9 +77,12 @@ void __gpio_early_init_uart(void)
 void gpio_early_init_uart(void)
 __attribute__((weak, alias("__gpio_early_init_uart")));
 
+/* TODO(twarren at nvidia.com): Create this only in boards that have NAND */
 void __pin_mux_nand(void)
 {
+#if defined(CONFIG_TEGRA_NAND)
 	funcmux_select(PERIPH_ID_NDFLASH, FUNCMUX_DEFAULT);
+#endif
 }
 
 void pin_mux_nand(void) __attribute__((weak, alias("__pin_mux_nand")));
-- 
1.8.1.5



More information about the U-Boot mailing list