[U-Boot] [PATCH 11/26] tegra: Don't set up the UART clocks again in U-Boot

Simon Glass sjg at chromium.org
Fri May 19 14:30:54 UTC 2017


The UART clocks are already set up in SPL so we don't need to do it again
in U-Boot. This seems to cause a hang on Nyan.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/mach-tegra/board.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c
index b3a041b539..c478420655 100644
--- a/arch/arm/mach-tegra/board.c
+++ b/arch/arm/mach-tegra/board.c
@@ -187,7 +187,9 @@ static void setup_uarts(int uart_ids)
 			enum periph_id id = id_for_uart[i];
 
 			funcmux_select(id, uart_configs[i]);
+#ifdef CONFIG_SPL_BUILD
 			clock_ll_start_uart(id);
+#endif
 		}
 	}
 }
-- 
2.13.0.303.g4ebf302169-goog



More information about the U-Boot mailing list