ARM: s3c64xx: allow building without board support
authorArnd Bergmann <arnd@arndb.de>
Fri, 27 Feb 2015 20:44:40 +0000 (21:44 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 1 Dec 2015 20:50:26 +0000 (21:50 +0100)
commitb28210421c329766275b020ffeadce0a4e9d551f
tree32768b13d3fec7cd8bda0f18c4427e06a1af4be2
parentaf37eec0653128e991d20b8c1fc763ed1cde96c7
ARM: s3c64xx: allow building without board support

Most of the code for the s3c64xx platform is only used when booting
with ATAGS based board files, but not when using device-tree.

This tries to identify all the s3c64xx specific code that is
unneeded when CONFIG_ATAGS is not set, so we can build a smaller
DT-only kernel if configured that way.

All board support is still left intact but now depends on the
CONFIG_ATAGS symbol that users may intentionally disable.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-s3c64xx/Kconfig
arch/arm/mach-s3c64xx/Makefile
arch/arm/mach-s3c64xx/include/mach/gpio-samsung.h
arch/arm/plat-samsung/pm.c