Skip to contentSkip to conversation

ARM: rmobile: Fix the memory map on Gen3

PATCH New Marek Vasut 1 participant 1 message Feb 15, 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          | 91 +++-------------------------
 3 files changed, 9 insertions(+), 86 deletions(-)
arch/arm/mach-rmobile/cpu_info.c +0 -3
index ad9f86c5b8..5fb4d3347c 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 f4db42c34b..995871fb27 100644
@@ -40,7 +40,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 -82

110 lines not on this page · raw message

Signature · 1 line
2.15.1