summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-03-18 10:02:26 +0100
committerArnd Bergmann <arnd@arndb.de>2014-03-21 18:26:23 +0100
commit714e3302538ab1eff926e64ee56a1b50c9b0ca2b (patch)
tree36dc2dc56e2ba8f909d7f7cb799d69d07b8f6fad /arch/arm/plat-samsung
parentARM: samsung: select ATAGS where necessary (diff)
downloadlinux-714e3302538ab1eff926e64ee56a1b50c9b0ca2b.tar.xz
linux-714e3302538ab1eff926e64ee56a1b50c9b0ca2b.zip
ARM: samsung: select CRC32 for SAMSUNG_PM_CHECK
The Samsung pm_check code uses the crc32 library code, which can be built as a loadable module, in which case we get a link error building the kernel. A better solution is to use 'select CRC32', which is what all other users of this code do, as it ensures it is always built-in. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Cc: Tomasz Figa <tomasz.figa@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index 26ff15c130ff..b57e922f1614 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -444,7 +444,8 @@ config S3C_PM_DEBUG_LED_SMDK
config SAMSUNG_PM_CHECK
bool "S3C2410 PM Suspend Memory CRC"
- depends on PM && CRC32
+ depends on PM
+ select CRC32
help
Enable the PM code's memory area checksum over sleep. This option
will generate CRCs of all blocks of memory, and store them before