[PATCH] fixup! ARM: at91: sama5d27-som1: add additional first stage entry point

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jul 6 02:22:21 EDT 2020


putc_ll() is already behind a IS_ENABLED(CONFIG_DEBUG_LL), so no need to
replicate.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/boards/sama5d27-som1/lowlevel.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boards/sama5d27-som1/lowlevel.c b/arch/arm/boards/sama5d27-som1/lowlevel.c
index e9c781297c27..b0937119184b 100644
--- a/arch/arm/boards/sama5d27-som1/lowlevel.c
+++ b/arch/arm/boards/sama5d27-som1/lowlevel.c
@@ -45,8 +45,7 @@ SAMA5_ENTRY_FUNCTION(start_sama5d27_som1_ek_xload_mmc, r4)
 	sama5d2_lowlevel_init();
 
 	dbgu_base = sama5d2_resetup_uart_console(MASTER_CLOCK);
-	if (IS_ENABLED(CONFIG_DEBUG_LL))
-		putc_ll('>');
+	putc_ll('>');
 
 	relocate_to_current_adr();
 	setup_c();
@@ -65,8 +64,7 @@ SAMA5_ENTRY_FUNCTION(start_sama5d27_som1_ek, r4)
 {
 	void *fdt;
 
-	if (IS_ENABLED(CONFIG_DEBUG_LL))
-		putc_ll('>');
+	putc_ll('>');
 
 	fdt = __dtb_z_at91_sama5d27_som1_ek_start + get_runtime_offset();
 
-- 
2.27.0




More information about the barebox mailing list