]> git.sur5r.net Git - u-boot/commit
omap: Remove hardcoding of mmu section shift to 20
authorKeerthy <j-keerthy@ti.com>
Wed, 14 Sep 2016 05:13:28 +0000 (10:43 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2016 00:57:43 +0000 (20:57 -0400)
commitc268a9bde00898acd8580f721a741dea1af871db
tree36af9f2acbc4d9835e66884794a34c78f2410728
parent5052e8198816376d97d97355d33475b1bfeadbea
omap: Remove hardcoding of mmu section shift to 20

As of now the mmu section shift is hardcoded to 20 but with LPAE
coming into picture this can be different. Hence replacing 20 with
MMU_SECTION_SHIFT macro.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/omap-cache.c