diff options
author | Tom Rini <trini@ti.com> | 2014-11-13 09:32:45 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-13 09:32:45 -0500 |
commit | 3ad207a2bf1399a689233a97978e306f71729f77 (patch) | |
tree | 1c558153f19b15ba818916ea6400791e8ffe2322 /arch/arm/lib/cache-cp15.c | |
parent | bdf1638a757cfdebb033fb447101108d6cbc4e79 (diff) | |
parent | 18900401abf54182a56d8ff6dc38c7421402920b (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'arch/arm/lib/cache-cp15.c')
-rw-r--r-- | arch/arm/lib/cache-cp15.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c index 2155fe8187..0291afa7bd 100644 --- a/arch/arm/lib/cache-cp15.c +++ b/arch/arm/lib/cache-cp15.c @@ -47,15 +47,15 @@ __weak void mmu_page_table_flush(unsigned long start, unsigned long stop) debug("%s: Warning: not implemented\n", __func__); } -void mmu_set_region_dcache_behaviour(u32 start, int size, +void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size, enum dcache_option option) { u32 *page_table = (u32 *)gd->arch.tlb_addr; - u32 upto, end; + unsigned long upto, end; end = ALIGN(start + size, MMU_SECTION_SIZE) >> MMU_SECTION_SHIFT; start = start >> MMU_SECTION_SHIFT; - debug("%s: start=%x, size=%x, option=%d\n", __func__, start, size, + debug("%s: start=%pa, size=%zu, option=%d\n", __func__, &start, size, option); for (upto = start; upto < end; upto++) set_section_dcache(upto, option); |