[U-Boot] [RFC PATCH v2 03/28] arm: Only display frame buffer info	if there is LCD/video support
    Simon Glass 
    sjg at chromium.org
       
    Sat Jan  7 01:24:38 CET 2012
    
    
  
This value has no meaning otherwise.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
 common/cmd_bdinfo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index ac8e78d..cdc595e 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -369,7 +369,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	print_num("reloc off", gd->reloc_off);
 	print_num("irq_sp", gd->irq_sp);	/* irq stack pointer */
 	print_num("sp start ", gd->start_addr_sp);
+#if defined(CONFIG_LCD) || defined(CONFIG_VIDEO)
 	print_num("FB base  ", gd->fb_base);
+#endif
 	return 0;
 }
 
-- 
1.7.3.1
    
    
More information about the U-Boot
mailing list