summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2023-10-14 16:47:49 -0400
committerTom Rini <[email protected]>2023-10-17 20:50:52 -0400
commit44071cd5a8b1719397fe818d1c6ebc67a5db1953 (patch)
tree0a3e278b4d513cef96ed64e47aa2969853949e1b /common
parentc39d22c337c7e25c07fff6dcd54b9a96cfcd9687 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ad574a600e3..6bc4066fad7 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -657,6 +657,7 @@ config SPL_ETH
config SPL_FS_EXT4
bool "Support EXT filesystems"
+ select SPL_CRC16 if EXT4_WRITE
help
Enable support for EXT2/3/4 filesystems with SPL. This permits
U-Boot (or Linux in Falcon mode) to be loaded from an EXT