When debugging initramfs failures it is quite useful to known where it
is being loaded from.

Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---

 common/image.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/image.c b/common/image.c
index fa4864d..84e115f 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1050,12 +1050,13 @@ int boot_ramdisk_high(struct lmb *lmb, ulong rd_data, 
ulong rd_len,
 #endif
                        puts("OK\n");
                }
+
+               printf("   ramdisk load start = 0x%08lx, ramdisk load end = 
0x%08lx\n",
+                          *initrd_start, *initrd_end);
        } else {
                *initrd_start = 0;
                *initrd_end = 0;
        }
-       debug("   ramdisk load start = 0x%08lx, ramdisk load end = 0x%08lx\n",
-                       *initrd_start, *initrd_end);
 
        return 0;
 
-- 
2.0.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to