diff options
author | Andreas Schwab <schwab@suse.de> | 2021-08-17 12:51:34 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-02 10:17:45 -0400 |
commit | c8291f53b0523cf1af24dae8a41720fa7e7d035a (patch) | |
tree | 10c6b99f8609b7999357c70fbf33eeb7b4a2470b /lib | |
parent | d9d8849183a11814d0b5675de922209b26b713db (diff) | |
download | u-boot-c8291f53b0523cf1af24dae8a41720fa7e7d035a.zip u-boot-c8291f53b0523cf1af24dae8a41720fa7e7d035a.tar.gz u-boot-c8291f53b0523cf1af24dae8a41720fa7e7d035a.tar.bz2 |
lib: add crc16.o if CONFIG_MMC_SPI_CRC_ON for SPL build
CONFIG_MMC_SPI_CRC_ON needs the crc16 functions, but it was not included
in an SPL build. For non-SPL builds, crc16.o is already added
unconditionally. This also removes CONFIG_SPL_YMODEM_SUPPORT from the
sifive board configs, which is only relevant for some ARM boards and was
only set for its side effect of adding crc16.o.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 8ba745f..2d29cda 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -88,6 +88,7 @@ endif ifdef CONFIG_SPL_BUILD obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o +obj-$(CONFIG_MMC_SPI_CRC_ON) += crc16.o obj-y += net_utils.o endif obj-$(CONFIG_ADDR_MAP) += addr_map.o |