From b28210421c329766275b020ffeadce0a4e9d551f Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Fri, 27 Feb 2015 21:44:40 +0100 Subject: 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 --- arch/arm/plat-samsung/pm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arch/arm/plat-samsung/pm.c') 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 #include -#ifdef CONFIG_SAMSUNG_ATAGS #include -#ifndef CONFIG_ARCH_EXYNOS #include #include -#endif #include -#endif #include -- cgit