ARM: OMAP5: Make errata i688 workaround available
Errata i688 is also applicable for OMAP5 based devices. Update the code so that it can be enabled on OMAP5 devices. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
This commit is contained in:
parent
13fcef9431
commit
1348bbf942
|
@ -408,7 +408,7 @@ config OMAP3_SDRC_AC_TIMING
|
||||||
|
|
||||||
config OMAP4_ERRATA_I688
|
config OMAP4_ERRATA_I688
|
||||||
bool "OMAP4 errata: Async Bridge Corruption"
|
bool "OMAP4 errata: Async Bridge Corruption"
|
||||||
depends on ARCH_OMAP4 && !ARCH_MULTIPLATFORM
|
depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
|
||||||
select ARCH_HAS_BARRIERS
|
select ARCH_HAS_BARRIERS
|
||||||
help
|
help
|
||||||
If a data is stalled inside asynchronous bridge because of back
|
If a data is stalled inside asynchronous bridge because of back
|
||||||
|
|
|
@ -271,6 +271,14 @@ static struct map_desc omap54xx_io_desc[] __initdata = {
|
||||||
.length = L4_PER_54XX_SIZE,
|
.length = L4_PER_54XX_SIZE,
|
||||||
.type = MT_DEVICE,
|
.type = MT_DEVICE,
|
||||||
},
|
},
|
||||||
|
#ifdef CONFIG_OMAP4_ERRATA_I688
|
||||||
|
{
|
||||||
|
.virtual = OMAP4_SRAM_VA,
|
||||||
|
.pfn = __phys_to_pfn(OMAP4_SRAM_PA),
|
||||||
|
.length = PAGE_SIZE,
|
||||||
|
.type = MT_MEMORY_SO,
|
||||||
|
},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -323,6 +331,7 @@ void __init omap4_map_io(void)
|
||||||
void __init omap5_map_io(void)
|
void __init omap5_map_io(void)
|
||||||
{
|
{
|
||||||
iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc));
|
iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc));
|
||||||
|
omap_barriers_init();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue