summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-04-30 14:03:47 +0200
committerMichal Simek <[email protected]>2026-08-12 06:55:14 +0200
commit84e3df261f3958abf604b9704f01b33aad21b701 (patch)
treeb758365f5fb89593100073660fff32caaf8dc11c
parent90ddf602cf96885a97581146a5e375ce5d125a39 (diff)
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 <[email protected]> Link: https://patch.msgid.link/4885b1983ec158ed98e727091be38f7de104108e.1777550623.git.michal.simek@amd.com
-rw-r--r--configs/xilinx_mbv32_defconfig3
1 files changed, 3 insertions, 0 deletions
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