fs: ext4: Fix building ext4 in SPL if write is enabled
If EXT4_WRITE is enabled, write capabilities will be compiled into SPL, but not CRC16. Add an option to enable CRC16 to avoid linker errors. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -64,6 +64,7 @@ obj-$(CONFIG_TPM_V2) += tpm-v2.o
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_$(SPL_TPL_)CRC8) += crc8.o
|
||||
obj-$(CONFIG_$(SPL_TPL_)CRC16) += crc16.o
|
||||
|
||||
obj-y += crypto/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user