The code uses __is_defined, which only works for undefined macros and
defined ones with a value. This is different than the debugging prints
that accept empty defined DEBUG, so add a commented out #define DEBUG 1
to alert those seeking to debug the code.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 common/efi/payload/iomem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/efi/payload/iomem.c b/common/efi/payload/iomem.c
index 6b92ca993aa7..550d832668ed 100644
--- a/common/efi/payload/iomem.c
+++ b/common/efi/payload/iomem.c
@@ -3,6 +3,7 @@
 
 #define pr_fmt(fmt) "efi-iomem: " fmt
 
+// #define DEBUG 1
 #include <common.h>
 #include <init.h>
 #include <efi.h>
-- 
2.39.2


Reply via email to