mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
cmd_bdinfo: display the address map size (32-bit vs. 36-bit)
Some Freescale SOCs support 32-bit and 36-bit physical addressing, and U-Boot must be built to enable one or the other. Add this information to the bdinfo command. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
befb7d9f3c
commit
34e210f5bd
1 changed files with 8 additions and 0 deletions
|
@ -119,6 +119,14 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||
print_mhz("pevfreq", bd->bi_pevfreq);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ENABLE_36BIT_PHYS
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
puts("addressing = 36-bit\n");
|
||||
#else
|
||||
puts("addressing = 32-bit\n");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
print_eth(0);
|
||||
#if defined(CONFIG_HAS_ETH1)
|
||||
print_eth(1);
|
||||
|
|
Loading…
Reference in a new issue