]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: Group assembly optimized implementation of memory routines into a submenu
authorBin Meng <bmeng.cn@gmail.com>
Thu, 13 May 2021 08:46:18 +0000 (16:46 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 17 May 2021 08:47:33 +0000 (16:47 +0800)
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>
arch/riscv/Kconfig

index 82e10da11ee9e99d4da898dc894eb537ada0d43c..63665d210ca94baa2837c009282efe7715a88c50 100644 (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