ARM: mmu: Introduce weak dram_bank_setup function
authorR Sricharan <r.sricharan@ti.com>
Mon, 4 Mar 2013 20:04:44 +0000 (20:04 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 28 Mar 2013 08:06:49 +0000 (09:06 +0100)
commit96fdbec2f96c9e11758c8742409069eeef841722
treef58248e8a686f7a44dc39396a61072292fd1902c
parentdfa41387155daed35cc6b294b2390641aa887a1d
ARM: mmu: Introduce weak dram_bank_setup function

Introduce a weak version of dram_bank_setup function
to allow a platform specific function.

This is used in the subsequent patch to setup dram region
without 'XN' attribute in order to enable the region
under client permissions.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
Cc: Vincent Stehle <v-stehle@ti.com>
Cc: Tom Rini <trini@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/include/asm/cache.h
arch/arm/lib/cache-cp15.c