From: Stefan Roese Date: Wed, 3 Jun 2015 11:18:23 +0200 Subject: [U-Boot] [PATCH v1 04/12] arm: mvebu: spl.c: Add call to board_early_init_f() In-Reply-To: <1433323111-28819-1-git-send-email-sr@denx.de> References: <1433323111-28819-1-git-send-email-sr@denx.de> Message-ID: <1433323111-28819-5-git-send-email-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Pin muxing needs to be done before UART output, since on A38x the UART pins need some re-muxing for output to work. Signed-off-by: Stefan Roese --- arch/arm/mach-mvebu/spl.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 402e520..2df25aa 100644 --- a/arch/arm/mach-mvebu/spl.c +++ b/arch/arm/mach-mvebu/spl.c @@ -26,6 +26,13 @@ void board_init_f(ulong dummy) /* Linux expects the internal registers to be at 0xf1000000 */ arch_cpu_init(); + /* + * Pin muxing needs to be done before UART output, since + * on A38x the UART pins need some re-muxing for output + * to work. + */ + board_early_init_f(); + preloader_console_init(); /* First init the serdes PHY's */ -- 2.4.2