diff options
author | Timur Tabi <timur@freescale.com> | 2012-03-15 11:42:26 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-04-24 23:58:34 -0500 |
commit | 34e210f5bd9c000cec39b45483be6df52e2b6e07 (patch) | |
tree | f36fd0aa651538ff636ce4de3b7a8979b34ceab0 /common/cmd_bdinfo.c | |
parent | befb7d9f3c3de6b237f1f30ea5f91b24aed4992a (diff) | |
download | u-boot-34e210f5bd9c000cec39b45483be6df52e2b6e07.tar.gz |
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>
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r-- | common/cmd_bdinfo.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 5359a47859..3ab285bc73 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -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); |