]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit825096387fc76e6ed8f2839edc18181c73fde6f2
tree32768b13d3fec7cd8bda0f18c4427e06a1af4be2
parentd0751ecc0e41163b468418435a43cd27b78abf95
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