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>
This commit is contained in:
Bin Meng 2021-05-13 16:46:18 +08:00 committed by Leo Yu-Chi Liang
parent 703b84ec29
commit 89419279f4

View File

@ -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