mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
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.
This commit is contained in:
parent
d9d8849183
commit
c8291f53b0
3 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ CONFIG_SPL_SEPARATE_BSS=y
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
CONFIG_SPL_DM_RESET=y
|
CONFIG_SPL_DM_RESET=y
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||||
CONFIG_SPL_CLK=y
|
CONFIG_SPL_CLK=y
|
||||||
|
|
|
@ -23,7 +23,6 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
CONFIG_SPL_SEPARATE_BSS=y
|
CONFIG_SPL_SEPARATE_BSS=y
|
||||||
CONFIG_SPL_DM_RESET=y
|
CONFIG_SPL_DM_RESET=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
|
||||||
CONFIG_CMD_EEPROM=y
|
CONFIG_CMD_EEPROM=y
|
||||||
CONFIG_CMD_MEMINFO=y
|
CONFIG_CMD_MEMINFO=y
|
||||||
CONFIG_CMD_PWM=y
|
CONFIG_CMD_PWM=y
|
||||||
|
|
|
@ -88,6 +88,7 @@ endif
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
|
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
|
||||||
obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o
|
obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o
|
||||||
|
obj-$(CONFIG_MMC_SPI_CRC_ON) += crc16.o
|
||||||
obj-y += net_utils.o
|
obj-y += net_utils.o
|
||||||
endif
|
endif
|
||||||
obj-$(CONFIG_ADDR_MAP) += addr_map.o
|
obj-$(CONFIG_ADDR_MAP) += addr_map.o
|
||||||
|
|
Loading…
Add table
Reference in a new issue