summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-05-13 11:46:18 +0300
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-05-17 11:47:33 +0300
commit89419279f4fe6bfd68dd518059ef2007295f1cb4 (patch)
tree8e0ddb412779294a6fba29b3be7b9f5cc8af663d /arch/riscv
parent703b84ec29fe3ffe2299596ba302570fb38e3976 (diff)
downloadu-boot-89419279f4fe6bfd68dd518059ef2007295f1cb4.tar.xz
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')
-rw-r--r--arch/riscv/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 82e10da11e..63665d210c 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