Skip to contentSkip to conversation

ARM: rmobile: Fix the memory map on Gen3

PATCH New Marek Vasut 1 participant 1 message Apr 9, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: rmobile: Fix the memory map on Gen3

Fix up the memory map on Gen3 to match datasheet properly. This simplifies the memory map setup as well, since we do no longer need this massive complexity.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/cpu_info.c             |  3 -
 arch/arm/mach-rmobile/include/mach/rmobile.h |  1 -
 arch/arm/mach-rmobile/memmap-gen3.c          | 92 +++-------------------------
 3 files changed, 9 insertions(+), 87 deletions(-)
arch/arm/mach-rmobile/cpu_info.c +0 -3
index ba87d21b73..ce15741c41 100644
@@ -18,9 +18,6 @@ int arch_cpu_init(void)
 #ifndef CONFIG_SYS_DCACHE_OFF
 void enable_caches(void)
 {
-#if defined(CONFIG_RCAR_GEN3)
-	rcar_gen3_memmap_fixup();
-#endif
 	dcache_enable();
 }
 #endif
arch/arm/mach-rmobile/include/mach/rmobile.h +0 -1
index ff0ca63f02..94ea366f45 100644
@@ -41,7 +41,6 @@
 u32 rmobile_get_cpu_type(void);
 u32 rmobile_get_cpu_rev_integer(void);
 u32 rmobile_get_cpu_rev_fraction(void);
-void rcar_gen3_memmap_fixup(void);
 #endif /* __ASSEMBLY__ */
 
 #endif /* __ASM_ARCH_RMOBILE_H */
arch/arm/mach-rmobile/memmap-gen3.c +9 -83

111 lines not on this page · raw message

Signature · 1 line
2.16.2