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

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jul 6 02:22:54 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-giantboard/lowlevel.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boards/sama5d27-giantboard/lowlevel.c b/arch/arm/boards/sama5d27-giantboard/lowlevel.c
index dc678e5d83ce..ee8297fa4562 100644
--- a/arch/arm/boards/sama5d27-giantboard/lowlevel.c
+++ b/arch/arm/boards/sama5d27-giantboard/lowlevel.c
@@ -22,8 +22,7 @@ SAMA5_ENTRY_FUNCTION(start_sama5d27_giantboard_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();
@@ -41,8 +40,7 @@ SAMA5_ENTRY_FUNCTION(start_sama5d27_giantboard, r4)
 {
 	void *fdt;
 
-	if (IS_ENABLED(CONFIG_DEBUG_LL))
-		putc_ll('>');
+	putc_ll('>');
 
 	fdt = __dtb_z_at91_sama5d27_giantboard_start + get_runtime_offset();
 
-- 
2.27.0




More information about the barebox mailing list