diff options
| -rw-r--r-- | arch/arm/mach-omap2/Kconfig | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/io.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 8111cd9ff3e5..b9c0ed3f648c 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
| @@ -408,7 +408,7 @@ config OMAP3_SDRC_AC_TIMING | |||
| 408 | 408 | ||
| 409 | config OMAP4_ERRATA_I688 | 409 | config OMAP4_ERRATA_I688 |
| 410 | bool "OMAP4 errata: Async Bridge Corruption" | 410 | bool "OMAP4 errata: Async Bridge Corruption" |
| 411 | depends on ARCH_OMAP4 && !ARCH_MULTIPLATFORM | 411 | depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM |
| 412 | select ARCH_HAS_BARRIERS | 412 | select ARCH_HAS_BARRIERS |
| 413 | help | 413 | help |
| 414 | If a data is stalled inside asynchronous bridge because of back | 414 | If a data is stalled inside asynchronous bridge because of back |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 2c3fdd65387b..2bef5a7e6af8 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
| @@ -271,6 +271,14 @@ static struct map_desc omap54xx_io_desc[] __initdata = { | |||
| 271 | .length = L4_PER_54XX_SIZE, | 271 | .length = L4_PER_54XX_SIZE, |
| 272 | .type = MT_DEVICE, | 272 | .type = MT_DEVICE, |
| 273 | }, | 273 | }, |
| 274 | #ifdef CONFIG_OMAP4_ERRATA_I688 | ||
| 275 | { | ||
| 276 | .virtual = OMAP4_SRAM_VA, | ||
| 277 | .pfn = __phys_to_pfn(OMAP4_SRAM_PA), | ||
| 278 | .length = PAGE_SIZE, | ||
| 279 | .type = MT_MEMORY_SO, | ||
| 280 | }, | ||
| 281 | #endif | ||
| 274 | }; | 282 | }; |
| 275 | #endif | 283 | #endif |
| 276 | 284 | ||
| @@ -323,6 +331,7 @@ void __init omap4_map_io(void) | |||
| 323 | void __init omap5_map_io(void) | 331 | void __init omap5_map_io(void) |
| 324 | { | 332 | { |
| 325 | iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc)); | 333 | iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc)); |
| 334 | omap_barriers_init(); | ||
| 326 | } | 335 | } |
| 327 | #endif | 336 | #endif |
| 328 | /* | 337 | /* |
