[U-Boot] [PATCH v2 7/8] nios2: show fdt blob address in board info command

Thomas Chou thomas at wytron.com.tw
Fri Sep 4 14:22:22 CEST 2015


Show fdt blob address in board info command.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
---
 common/cmd_bdinfo.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index ed3b935..74ff229 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -176,6 +176,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 #endif
 
 	printf("baudrate    = %u bps\n", gd->baudrate);
+#if defined(CONFIG_OF_CONTROL)
+	print_num("fdt_blob", (ulong)gd->fdt_blob);
+#endif
 
 	return 0;
 }
-- 
2.1.4



More information about the U-Boot mailing list