The qemu* "generic" targets (i.e. not those emulating a particular
board) are typically used for testing as many features as possible,
especially in CI so it makes sense to have UNIT_TEST enabled for
all of the defconfigs for these targets.
Not enabling UNIT_TEST in qemu-x86_defconfig due to:
LD u-boot
ld.bfd: section .rel.dyn VMA wraps around address space
ld.bfd: section .start16 LMA [fffff800,fffff86f] overlaps section .rel.dyn LMA [ffffb77c,0002ac93]
make: *** [Makefile:1824: u-boot] Error 1
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Drop ppc due to build warning:
test/lib/str.c:230:50: error: left shift count >= width of type [-Werror=shift-count-overflow]
+ 230 | simple_itoa((1UL << 63) - 1));
Signed-off-by: Simon Glass <sjg@chromium.org>
29 lines
758 B
Plaintext
29 lines
758 B
Plaintext
CONFIG_RISCV=y
|
|
CONFIG_SYS_MALLOC_LEN=0x800000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_DEFAULT_DEVICE_TREE="qemu-virt64"
|
|
CONFIG_SPL_BSS_START_ADDR=0x84000000
|
|
CONFIG_SYS_BOOTM_LEN=0x4000000
|
|
CONFIG_SYS_LOAD_ADDR=0x80200000
|
|
CONFIG_SPL=y
|
|
CONFIG_TARGET_QEMU_VIRT=y
|
|
CONFIG_ARCH_RV64I=y
|
|
CONFIG_RISCV_SMODE=y
|
|
CONFIG_FIT=y
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
CONFIG_SPL_MAX_SIZE=0x100000
|
|
CONFIG_SPL_SYS_MALLOC=y
|
|
# CONFIG_CMD_MII is not set
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_FLASH_SHOW_PROGRESS=0
|
|
CONFIG_SYS_MAX_FLASH_BANKS=2
|
|
# CONFIG_BINMAN_FDT is not set
|
|
CONFIG_UNIT_TEST=y
|