diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-27 21:44:40 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-01 21:50:26 +0100 |
commit | b28210421c329766275b020ffeadce0a4e9d551f (patch) | |
tree | 32768b13d3fec7cd8bda0f18c4427e06a1af4be2 /arch/arm/plat-samsung | |
parent | af37eec0653128e991d20b8c1fc763ed1cde96c7 (diff) | |
download | linux-b28210421c329766275b020ffeadce0a4e9d551f.tar.gz linux-b28210421c329766275b020ffeadce0a4e9d551f.tar.bz2 linux-b28210421c329766275b020ffeadce0a4e9d551f.zip |
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>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/pm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 82777c649774..d7803b434732 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c @@ -23,14 +23,10 @@ #include <asm/cacheflush.h> #include <asm/suspend.h> -#ifdef CONFIG_SAMSUNG_ATAGS #include <mach/map.h> -#ifndef CONFIG_ARCH_EXYNOS #include <mach/regs-clock.h> #include <mach/regs-irq.h> -#endif #include <mach/irqs.h> -#endif #include <asm/irq.h> |