]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/efi_loader.h
efi_loader: Move to normal debug infrastructure
[people/ms/u-boot.git] / include / efi_loader.h
index 3332d61cefc9fc5754f45e9732b5aebc3f557441..97388350eb90e87ad32bbb56ed667ce0b14f12c6 100644 (file)
 
 #include <linux/list.h>
 
-/* #define DEBUG_EFI */
-
-#ifdef DEBUG_EFI
 #define EFI_ENTRY(format, ...) do { \
        efi_restore_gd(); \
-       printf("EFI: Entry %s(" format ")\n", __func__, ##__VA_ARGS__); \
+       debug("EFI: Entry %s(" format ")\n", __func__, ##__VA_ARGS__); \
        } while(0)
-#else
-#define EFI_ENTRY(format, ...) do { \
-       efi_restore_gd(); \
-       } while(0)
-#endif
 
 #define EFI_EXIT(ret) efi_exit_func(ret);