diff options
| author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-03-28 13:18:24 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:14:39 +0200 |
| commit | 7996d5dae24b20055efd3198bbda00e1c3790911 (patch) | |
| tree | 4a05d572935cce0a620e9e77d2ec62066bd97e37 /arch/arm/include/asm | |
| parent | 0962932fe3bfc683948cf84fd9df92cb0b765c18 (diff) | |
ux500-ARM : make backup RAM as an executable area
On the v1.0/ED boards, during the deep sleep resume, it is
required to make the backup RAM area as "executable" in order
manage MMU settings for a single core mode. As a result, the
rom code requires such a condition for aligning SMP strategy
for different per-core MMU configuration. This patch makes
the backup RAM configuration area as executable by adding
a new memory type.
*This change will not be needed for U8500 v2.0 as the
rom code would (hopefully as discussions are showing) be updated
with a minor API change*
This patch is a part of patches for the deep sleep feature
for the U8500 and FIDO_IR_ER: 258539
This patch *must* be re-visisted during u8500 v2.0 cut
or mainlining the deep sleep to community
Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com>
Acked-By: Biju C Das <biju.das@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Change-Id: Id4d8215ca1e9aaf8f327ff3f55f3f9ca1e68aef5
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2190
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/arm/include/asm')
| -rw-r--r-- | arch/arm/include/asm/io.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index d66605dea55..ffa4430e106 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -63,6 +63,12 @@ extern void __raw_readsl(const void __iomem *addr, void *data, int longlen); #define MT_DEVICE_CACHED 2 #define MT_DEVICE_WC 3 /* + * NOTE : U8500 v1.0/ED cut specific hack. + * look at the commit message for more details + */ +#define MT_BACKUP_RAM 4 + +/* * types 4 onwards can be found in asm/mach/map.h and are undefined * for ioremap */ |
