[PATCH 1/2] fixup! RISC-V: add 64-bit support

Ahmad Fatoum ahmad at a3f.at
Sun Mar 14 13:03:00 GMT 2021


The sjlj implementation is actually written so that it works fine on
both 32- and 64- bit RISC-V. We can thus select it from CONFIG_RISCV
directly.

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 arch/riscv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a53ac4d12031..788bf36cfe42 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -11,6 +11,7 @@ config RISCV
 	select HAVE_PBL_IMAGE
 	select HAVE_PBL_MULTI_IMAGES
 	select HAVE_IMAGE_COMPRESSION
+	select HAS_ARCH_SJLJ
 	select HAS_KALLSYMS
 
 config ARCH_TEXT_BASE
@@ -50,7 +51,6 @@ config ARCH_RV32I
 	select GENERIC_LIB_ASHLDI3
 	select GENERIC_LIB_ASHRDI3
 	select GENERIC_LIB_LSHRDI3
-	select HAS_ARCH_SJLJ
 	select 32BIT
 
 config ARCH_RV64I
-- 
2.30.0




More information about the barebox mailing list