]> git.sur5r.net Git - u-boot/commit
arm: cache: always flush cache line size for page table
authorStefan Agner <stefan.agner@toradex.com>
Mon, 15 Aug 2016 04:33:01 +0000 (21:33 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 26 Aug 2016 21:04:56 +0000 (17:04 -0400)
commit8f894a4d38adff26733225fb170f2a2d3e2b3054
treece5df402c6be75e7db1883b2eae3cc2a2fbd8bf9
parentc5b3cabf4a2f78b126a7da92c20b781a52d5307f
arm: cache: always flush cache line size for page table

The page table is maintained by the CPU, hence it is safe to always
align cache flush to a whole cache line size. This allows to use
mmu_page_table_flush for a single page table, e.g. when configure
only small regions through mmu_set_region_dcache_behaviour.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/lib/cache-cp15.c