diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-11-22 09:47:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-12-13 23:19:38 +0100 |
commit | 2b3246d95593e62045ce842c8d8710ff1d07b620 (patch) | |
tree | 6a905c7b8e18d521be4020c68b019f49b024dcc0 /common | |
parent | ca9ed088d0256cb313288724f346af2dd586f6bf (diff) | |
download | barebox-2b3246d95593e62045ce842c8d8710ff1d07b620.tar.gz barebox-2b3246d95593e62045ce842c8d8710ff1d07b620.tar.xz |
efi: print early efi_main string on CONFIG_DEBUG_LL=y
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@pengutronix.de>
Link: https://lore.barebox.org/20211122084732.2597109-28-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/efi/payload/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/efi/payload/init.c b/common/efi/payload/init.c index d8a43e8885..6db6b23895 100644 --- a/common/efi/payload/init.c +++ b/common/efi/payload/init.c @@ -5,6 +5,10 @@ * Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix */ +#ifdef CONFIG_DEBUG_LL +#define DEBUG +#endif + #include <linux/linkage.h> #include <common.h> #include <linux/sizes.h> |