diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2019-01-22 20:46:10 +0000 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-24 14:21:01 +0000 |
commit | d19f4e50aa84d7eec717cab980731a168e59d388 (patch) | |
tree | e3ee9badcfdb661e1f58a55da9e757941ca6fb30 | |
parent | 053ea606828afecbabf458beb575272dccdd8a36 (diff) |
riscv: ARCH_RISCV_RV{32,64} selects ARCH_RISCV
ARCH_RISCV_RV{32,64} will now select ARCH_RISCV.
Change-Id: Ia7a1a8f0bfab20e91b8429dd6dd3e9a4180a0a5b
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31042
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Hug <philipp@hug.cx>
-rw-r--r-- | src/arch/riscv/Kconfig | 3 | ||||
-rw-r--r-- | src/soc/sifive/fu540/Kconfig | 1 | ||||
-rw-r--r-- | src/soc/ucb/riscv/Kconfig | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig index 5bde804ce2..9d325af759 100644 --- a/src/arch/riscv/Kconfig +++ b/src/arch/riscv/Kconfig @@ -40,10 +40,12 @@ config ARCH_RISCV_U config ARCH_RISCV_RV64 bool default n + select ARCH_RISCV config ARCH_RISCV_RV32 bool default n + select ARCH_RISCV config ARCH_RISCV_PMP bool @@ -52,7 +54,6 @@ config ARCH_RISCV_PMP config ARCH_BOOTBLOCK_RISCV bool default n - select ARCH_RISCV select C_ENVIRONMENT_BOOTBLOCK config ARCH_VERSTAGE_RISCV diff --git a/src/soc/sifive/fu540/Kconfig b/src/soc/sifive/fu540/Kconfig index 7910b37860..6ebde33da0 100644 --- a/src/soc/sifive/fu540/Kconfig +++ b/src/soc/sifive/fu540/Kconfig @@ -13,7 +13,6 @@ config SOC_SIFIVE_FU540 bool - select ARCH_RISCV select ARCH_RISCV_RV64 select ARCH_RISCV_S select ARCH_RISCV_U diff --git a/src/soc/ucb/riscv/Kconfig b/src/soc/ucb/riscv/Kconfig index 5a43aa63c6..aa352d932b 100644 --- a/src/soc/ucb/riscv/Kconfig +++ b/src/soc/ucb/riscv/Kconfig @@ -1,5 +1,4 @@ config SOC_UCB_RISCV - select ARCH_RISCV select ARCH_RISCV_RV64 select ARCH_RISCV_S select ARCH_RISCV_U |