diff options
author | Tom Rini <trini@konsulko.com> | 2015-07-29 22:58:39 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-07-29 22:58:39 (GMT) |
commit | cc35734358540a1bbaf042fdf9f4cb2de17389ed (patch) | |
tree | 95163aad5ff5430fdd6fb92c52f26eae46957c2c /arch/arm/cpu | |
parent | 488d19cbcace0b87a2d08881eab7356088198903 (diff) | |
parent | 873e3ef90ba98c764af6e05251354332205b9d3a (diff) | |
download | u-boot-cc35734358540a1bbaf042fdf9f4cb2de17389ed.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv8/cache_v8.c | 4 |
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 c5ec529..254a629 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++) { |