diff options
Diffstat (limited to 'common/cmd_bdinfo.c')
| -rw-r--r-- | common/cmd_bdinfo.c | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 28b52414c..85279d5e7 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -388,13 +388,15 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  #endif  	printf("baudrate    = %u bps\n", bd->bi_baudrate);  #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) -	print_num("TLB addr", gd->tlb_addr); +	print_num("TLB addr", gd->arch.tlb_addr);  #endif  	print_num("relocaddr", gd->relocaddr);  	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  	/*  	 * TODO: Currently only support for davinci SOC's is added.  	 * Remove this check once all the board implement this. @@ -480,7 +482,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  	print_eth(0);  	printf("ip_addr     = %s\n", getenv("ipaddr"));  #endif +#if defined(CONFIG_LCD) || defined(CONFIG_VIDEO)  	print_num("FB base  ", gd->fb_base); +#endif  	return 0;  } |