mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
efi_loader: Move to normal debug infrastructure
We introduced special "DEBUG_EFI" defines when the efi loader support was new. After giving it a bit of thought, turns out we really didn't have to - the normal #define DEBUG infrastructure works well enough for efi loader as well. So this patch switches to the common debug() and #define DEBUG way of printing debug information. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
@@ -206,9 +206,7 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
|
||||
#endif
|
||||
|
||||
/* Call our payload! */
|
||||
#ifdef DEBUG_EFI
|
||||
printf("%s:%d Jumping to 0x%lx\n", __func__, __LINE__, (long)entry);
|
||||
#endif
|
||||
debug("%s:%d Jumping to 0x%lx\n", __func__, __LINE__, (long)entry);
|
||||
|
||||
if (setjmp(&loaded_image_info.exit_jmp)) {
|
||||
efi_status_t status = loaded_image_info.exit_status;
|
||||
|
Reference in New Issue
Block a user