From 84e3df261f3958abf604b9704f01b33aad21b701 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 30 Apr 2026 14:03:47 +0200 Subject: [PATCH] xilinx: mbv: Disable arch-specific memory functions in SPL Disable CONFIG_SPL_USE_ARCH_MEMCPY, CONFIG_SPL_USE_ARCH_MEMMOVE, and CONFIG_SPL_USE_ARCH_MEMSET to use generic C implementations instead of RISC-V assembly versions. The generic implementations are smaller for SPL's constrained code size requirements. spl/u-boot-spl: all -446 text -446 Signed-off-by: Michal Simek Link: https://patch.msgid.link/4885b1983ec158ed98e727091be38f7de104108e.1777550623.git.michal.simek@amd.com --- configs/xilinx_mbv32_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/xilinx_mbv32_defconfig b/configs/xilinx_mbv32_defconfig index 75ce445fafb..d068eeef234 100644 --- a/configs/xilinx_mbv32_defconfig +++ b/configs/xilinx_mbv32_defconfig @@ -1,4 +1,7 @@ CONFIG_RISCV=y +# CONFIG_SPL_USE_ARCH_MEMCPY is not set +# CONFIG_SPL_USE_ARCH_MEMMOVE is not set +# CONFIG_SPL_USE_ARCH_MEMSET is not set CONFIG_SYS_MALLOC_LEN=0xe00000 CONFIG_NR_DRAM_BANKS=1 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y