ARM: exynos: move sysram info to exynos.c
authorOlof Johansson <olof@lixom.net>
Tue, 3 Jun 2014 04:47:46 +0000 (21:47 -0700)
committerArnd Bergmann <arnd@arndb.de>
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 <linux@arm.linux.org.uk>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/exynos.c
arch/arm/mach-exynos/platsmp.c