[U-Boot] [PATCH v2 14/31] tegra: Don't set up the UART clocks again in U-Boot

Simon Glass sjg at chromium.org
Sat Jun 3 03:04:09 UTC 2017


This 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>
---

Changes in v2: None

 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.506.g27d5fe0cd-goog



More information about the U-Boot mailing list