summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRick Chen <[email protected]>2017-12-26 13:55:58 +0800
committerTom Rini <[email protected]>2018-01-12 08:05:12 -0500
commit068feb9b86d991283c43b56e36094f4e6f484d04 (patch)
tree48810d14016cccf4565c394383d59f449c8c3347 /arch
parentc7d7e80acdd5585a63ca548e87c8694dc9d2fefa (diff)
riscv: Modify generic codes to support RISC-V
Support common commands bdinfo and image format, also modify common generic flow for RISC-V. Signed-off-by: Rick Chen <[email protected]> Signed-off-by: Rick Chen <[email protected]> Signed-off-by: Greentime Hu <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 0b12ed986c6..762230cd564 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -54,6 +54,10 @@ config PPC
select HAVE_PRIVATE_LIBGCC
select SUPPORT_OF_CONTROL
+config RISCV
+ bool "riscv architecture"
+ select SUPPORT_OF_CONTROL
+
config SANDBOX
bool "Sandbox"
select BOARD_LATE_INIT
@@ -194,3 +198,4 @@ source "arch/sandbox/Kconfig"
source "arch/sh/Kconfig"
source "arch/x86/Kconfig"
source "arch/xtensa/Kconfig"
+source "arch/riscv/Kconfig"