aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorBin Meng2021-05-13 16:46:18 +0800
committerLeo Yu-Chi Liang2021-05-17 16:47:33 +0800
commit89419279f4fe6bfd68dd518059ef2007295f1cb4 (patch)
tree8e0ddb412779294a6fba29b3be7b9f5cc8af663d /arch/riscv/Kconfig
parent703b84ec29fe3ffe2299596ba302570fb38e3976 (diff)
riscv: Group assembly optimized implementation of memory routines into a submenu
Currently all assembly optimized implementation of memory routines show up at the top level of the RISC-V architecture Kconfig menu. Let's group them together into a submenu. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 82e10da11ee..63665d210ca 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -278,6 +278,8 @@ config STACK_SIZE_SHIFT
config OF_BOARD_FIXUP
default y if OF_SEPARATE && RISCV_SMODE
+menu "Use assembly optimized implementation of memory routines"
+
config USE_ARCH_MEMCPY
bool "Use an assembly optimized implementation of memcpy"
default y
@@ -357,3 +359,5 @@ config TPL_USE_ARCH_MEMSET
but may increase the binary size.
endmenu
+
+endmenu