ARM: rmobile: Fix the memory map on Gen3
Subsystems (2)
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.
Signed-off-by Marek Vasut <[email protected]>
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
@@ -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
@@ -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