[PATCH 27/30] efi: print early efi_main string on CONFIG_DEBUG_LL=y

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Nov 22 00:47:29 PST 2021


Similarly to how DEBUG_LL on non-EFI platforms often prints a >, make it
print L"barebox" as well on start of execution.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 common/efi/payload/init.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/efi/payload/init.c b/common/efi/payload/init.c
index d8a43e88856c..6db6b2389540 100644
--- a/common/efi/payload/init.c
+++ b/common/efi/payload/init.c
@@ -5,6 +5,10 @@
  * Copyright (c) 2014 Sascha Hauer <s.hauer at pengutronix.de>, Pengutronix
  */
 
+#ifdef CONFIG_DEBUG_LL
+#define DEBUG
+#endif
+
 #include <linux/linkage.h>
 #include <common.h>
 #include <linux/sizes.h>
-- 
2.30.2




More information about the barebox mailing list