lkml.org 
[lkml]   [2021]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] pldmfw: select CONFIG_CRC32
Date
From: Arnd Bergmann <arnd@arndb.de>

Without CRC32, pldmfw fails to link:

arm-linux-gnueabi-ld: lib/pldmfw/pldmfw.o: in function `pldmfw_flash_image':
(.text+0x1028): undefined reference to `crc32_le'

Fixes: b8265621f488 ("Add pldmfw library for PLDM firmware update")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
lib/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index 46806332a8cc..86dc0dcd6e0b 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -691,4 +691,5 @@ config GENERIC_LIB_DEVMEM_IS_ALLOWED

config PLDMFW
bool
+ select CRC32
default n
--
2.29.2
\
 
 \ /
  Last update: 2021-01-03 22:45    [W:0.084 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site