On Mon, Nov 30, 2026 at 12:28:58AM +0100, Tomasz Unger wrote:
The firmware upload support calls crc32() in cc1352_prepare(), but GREYBUS_BEAGLEPLAY does not select CRC32. When nothing else selects it, the kernel fails to link:
ld: drivers/greybus/gb-beagleplay.o: in function `cc1352_prepare': gb-beagleplay.c:(.text.unlikely+0x34b): undefined reference to `crc32_le'
This was reproduced with an x86 allnoconfig with BLOCK disabled and GPIOLIB, SERIAL_DEV_BUS and the driver enabled. In most configurations CRC32 is selected elsewhere (OF_FLATTREE on arm64, EFI_PARTITION with BLOCK), which hides the problem.
Select CRC32, as the driver already does for CRC_CCITT.
Fixes: 0cf7befa3ea2 ("greybus: gb-beagleplay: Add firmware upload API") Signed-off-by: Tomasz Unger tomasz.unger@yahoo.pl
Acked-by: Johan Hovold johan@kernel.org