mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
sandbox: allow building sandbox_spl with CONFIG_DEBUG
Building sandbox_spl with CONFIG_DEBUG leads to errors due to missing symbols: /usr/bin/ld: common/spl/spl_fit.o: in function `spl_fit_upload_fpga': common/spl/spl_fit.c:595: undefined reference to `fpga_load' /usr/bin/ld: test/test-main.o: in function `dm_test_post_run': test/test-main.c:124: undefined reference to `crc8' /usr/bin/ld: test/test-main.o: in function `dm_test_pre_run': test/test-main.c:95: undefined reference to `crc8' collect2: error: ld returned 1 exit status This is due to -Og not eliminating unused functions. Add FPGA and CRC8 support to the defconfig. Sandbox tests for SPL_FPGA and CRC8 should be created. So enabling these setting is advised anyway. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1de76a4535
commit
b59db00f8a
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y
|
|||
CONFIG_HANDOFF=y
|
||||
CONFIG_SPL_BOARD_INIT=y
|
||||
CONFIG_SPL_ENV_SUPPORT=y
|
||||
CONFIG_SPL_FPGA=y
|
||||
CONFIG_SPL_I2C=y
|
||||
CONFIG_SPL_RTC=y
|
||||
CONFIG_CMD_CPU=y
|
||||
|
@ -126,6 +127,8 @@ CONFIG_DM_DEMO=y
|
|||
CONFIG_DM_DEMO_SIMPLE=y
|
||||
CONFIG_DM_DEMO_SHAPE=y
|
||||
CONFIG_SPL_FIRMWARE=y
|
||||
CONFIG_DM_FPGA=y
|
||||
CONFIG_SANDBOX_FPGA=y
|
||||
CONFIG_GPIO_HOG=y
|
||||
CONFIG_QCOM_PMIC_GPIO=y
|
||||
CONFIG_SANDBOX_GPIO=y
|
||||
|
@ -237,6 +240,7 @@ CONFIG_FS_CRAMFS=y
|
|||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_RSA_VERIFY_WITH_PKEY=y
|
||||
CONFIG_TPM=y
|
||||
CONFIG_SPL_CRC8=y
|
||||
CONFIG_LZ4=y
|
||||
CONFIG_ZSTD=y
|
||||
CONFIG_ERRNO_STR=y
|
||||
|
|
Loading…
Reference in a new issue