]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Add Zbb support for building U-Boot
authorYu Chien Peter Lin <peterlin@andestech.com>
Wed, 9 Aug 2023 10:49:30 +0000 (18:49 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 19 Oct 2023 09:29:50 +0000 (17:29 +0800)
commitbc5a50452bd42029d6587e1596b44ff235655e90
tree30cf46e0c2e1415feaf8f1de62821f460771e56f
parent03a4504659bf8b0a1945a79696ae9a2b7ca4938a
riscv: Add Zbb support for building U-Boot

This patch adds ISA string to the -march to generate zbb instructions
for U-Boot binaries, along with optimized string functions introduced
from Linux kernel.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/Kconfig
arch/riscv/Makefile
arch/riscv/include/asm/string.h
arch/riscv/lib/Makefile
arch/riscv/lib/strcmp_zbb.S [new file with mode: 0644]
arch/riscv/lib/strlen_zbb.S [new file with mode: 0644]
arch/riscv/lib/strncmp_zbb.S [new file with mode: 0644]