diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-18 13:02:26 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-21 21:26:23 +0400 |
commit | 714e3302538ab1eff926e64ee56a1b50c9b0ca2b (patch) | |
tree | 36dc2dc56e2ba8f909d7f7cb799d69d07b8f6fad /arch/arm/plat-samsung | |
parent | 335cce74f29863a0ba415e5a76ee63c63caa774e (diff) | |
download | linux-714e3302538ab1eff926e64ee56a1b50c9b0ca2b.tar.xz |
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/Kconfig | 3 |
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 |