summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-06-02 11:38:27 +0200
committerTom Rini <trini@konsulko.com>2016-06-06 13:39:16 -0400
commitedcef3ba1d2d5beb92fcd7df253e196e77ba174d (patch)
treef2ca61e10c1d34979f928dc7b20d0976236e800e /cmd
parenta86aeaf228da739bce6bc40927949efc33672050 (diff)
downloadblackbird-obmc-uboot-edcef3ba1d2d5beb92fcd7df253e196e77ba174d.tar.gz
blackbird-obmc-uboot-edcef3ba1d2d5beb92fcd7df253e196e77ba174d.zip
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bootefi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index 2a62dce702..216906527f 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -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;
OpenPOWER on IntegriCloud