summaryrefslogtreecommitdiff
path: root/arch/nds32/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:38 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:07:50 -0500
commit37434783bbc3a16658abdaec357ad9d9310947d2 (patch)
tree7172cd71a9ba679fae0e166c08549c661fbe9bcf /arch/nds32/lib
parentb4d51db86b783f0c6950803f8cced2c15d812327 (diff)
nds32: Drop tlb_addr from global data
This field doesn't appear to be used for anything important, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/nds32/lib')
-rw-r--r--arch/nds32/lib/board.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 91395cabf3..09feaf3733 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -207,17 +207,6 @@ void board_init_f(ulong bootflag)
addr = CONFIG_SYS_SDRAM_BASE + gd->ram_size;
-#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
- /* reserve TLB table */
- addr -= (4096 * 4);
-
- /* round down to next 64 kB limit */
- addr &= ~(0x10000 - 1);
-
- gd->tlb_addr = addr;
- debug("TLB table at: %08lx\n", addr);
-#endif
-
/* round down to next 4 kB limit */
addr &= ~(4096 - 1);
debug("Top of RAM usable for U-Boot at: %08lx\n", addr);