summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:39 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:21:58 -0500
commit34fd5d253dee74fa8e431fc2183aa9f2637afa04 (patch)
tree35ee1ba256a3c5b7f4ca512b9c58b3b922ef8a05 /common
parent37434783bbc3a16658abdaec357ad9d9310947d2 (diff)
downloadu-boot-imx-34fd5d253dee74fa8e431fc2183aa9f2637afa04.zip
u-boot-imx-34fd5d253dee74fa8e431fc2183aa9f2637afa04.tar.gz
u-boot-imx-34fd5d253dee74fa8e431fc2183aa9f2637afa04.tar.bz2
arm: Move tlb_addr and tlb_size to arch_global_data
Move these fields into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Address tlb_size in this patch as well] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 48cdd16..82a3693 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -371,7 +371,7 @@ 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);