diff options
author | Sebastien Jan <s-jan@ti.com> | 2011-11-11 18:08:21 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-11-19 08:54:56 +0800 |
commit | f0a7faa144560c43956baf794a6a3259a4c95c48 (patch) | |
tree | 413c72f7090c56e0660e450d06472c0f264b6358 /arch/arm | |
parent | 08dca2f91d0735176a776b3ed7ecd5296178e094 (diff) |
OMAP4: ERRATA 742230 for OMAP4430
Applies to OMAP4430 ES2.2+.
Generic ARM implementation requires priviledged mode access,
not possible directly from kernel on OMAP4 (trustzone enabled).
Reported-by: Margarita Fisher <margaritafisher@gmail.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 7690e7091ac..0e428d589bc 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -63,6 +63,12 @@ static int __init omap_barriers_init(void) if (!cpu_is_omap44xx()) return -ENODEV; + /* ERRATA 742230 for Cortex-A9 in OMAP4430 ES2.2+ */ + if (cpu_is_omap443x() && (omap_rev() >= OMAP4430_REV_ES2_2)) { + omap_smc1(0x114, 1 << 4); + pr_info("Enabling ERRATA 742230\n"); + } + size = ALIGN(PAGE_SIZE, SZ_1M); paddr = memblock_alloc(size, SZ_1M); if (!paddr) { |