summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv8
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-29 18:58:39 -0400
committerTom Rini <trini@konsulko.com>2015-07-29 18:58:39 -0400
commitcc35734358540a1bbaf042fdf9f4cb2de17389ed (patch)
tree95163aad5ff5430fdd6fb92c52f26eae46957c2c /arch/arm/cpu/armv8
parent488d19cbcace0b87a2d08881eab7356088198903 (diff)
parent873e3ef90ba98c764af6e05251354332205b9d3a (diff)
downloadblackbird-obmc-uboot-cc35734358540a1bbaf042fdf9f4cb2de17389ed.tar.gz
blackbird-obmc-uboot-cc35734358540a1bbaf042fdf9f4cb2de17389ed.zip
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Diffstat (limited to 'arch/arm/cpu/armv8')
-rw-r--r--arch/arm/cpu/armv8/cache_v8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv8/cache_v8.c b/arch/arm/cpu/armv8/cache_v8.c
index c5ec5297cd..254a629a3b 100644
--- a/arch/arm/cpu/armv8/cache_v8.c
+++ b/arch/arm/cpu/armv8/cache_v8.c
@@ -25,9 +25,9 @@ void set_pgtable_section(u64 *page_table, u64 index, u64 section,
/* to activate the MMU we need to set up virtual memory */
static void mmu_setup(void)
{
- int i, j, el;
bd_t *bd = gd->bd;
- u64 *page_table = (u64 *)gd->arch.tlb_addr;
+ u64 *page_table = (u64 *)gd->arch.tlb_addr, i, j;
+ int el;
/* Setup an identity-mapping for all spaces */
for (i = 0; i < (PGTABLE_SIZE >> 3); i++) {
OpenPOWER on IntegriCloud