Skip to contentSkip to conversation

pldmfw: select CONFIG_CRC32

PATCH New Arnd Bergmann 1 participant 1 message Jan 3, 2021 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pldmfw: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

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")
---
 lib/Kconfig | 1 +
 1 file changed, 1 insertion(+)
lib/Kconfig +1 -0
index 46806332a8cc..86dc0dcd6e0b 100644
@@ -691,4 +691,5 @@ config GENERIC_LIB_DEVMEM_IS_ALLOWED
 
 config PLDMFW
 	bool
+	select CRC32
 	default n
Signature · 1 line
2.29.2