ARM: exynos: move sysram info to exynos.c
authorOlof Johansson <[email protected]>
Tue, 3 Jun 2014 04:47:46 +0000 (21:47 -0700)
committerArnd Bergmann <[email protected]>
Tue, 17 Jun 2014 15:09:45 +0000 (17:09 +0200)
commit1754c42e3db5f45dbd8d509f0366b4ed97687180
treee874d8829f951f81e43a4bdd65cc0409d56385d9
parent1ad58443cfa7a60a058f1b956054f19a1d00162d
ARM: exynos: move sysram info to exynos.c

This solves a problem with building with CONFIG_SMP=n due to missing
sysram_base_addr (or sysram_ns_base_addr) variables.

The new setup method is more awkward than I'd like for it to be, but
it can't be done in init_early() since ioremap is not yet available,
but it needs to happen before SMP.

Reported-by: Russell King <[email protected]>
Cc: Kukjin Kim <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/exynos.c
arch/arm/mach-exynos/platsmp.c