aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/cpu
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2019-04-02 15:56:41 +0800
committerAndes <uboot@andestech.com>2019-04-08 09:45:08 +0800
commit8848474c5e9093ac27f6b7cc8be156629c7d0bad (patch)
tree67459ee0549f20242f1e95d0546d86114a72edee /arch/riscv/cpu
parenta1f24875c346a1bf8940b793a27364631d9aabf7 (diff)
downloadu-boot-8848474c5e9093ac27f6b7cc8be156629c7d0bad.zip
u-boot-8848474c5e9093ac27f6b7cc8be156629c7d0bad.tar.gz
u-boot-8848474c5e9093ac27f6b7cc8be156629c7d0bad.tar.bz2
riscv: ax25: Add platform-specific Kconfig options
Add ax25 RISC-V platform-specific Kconfig options, to include CPU and timer drivers. Also disable ATCPIT100 SoC timer and replace by PLMT. Signed-off-by: Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Diffstat (limited to 'arch/riscv/cpu')
-rw-r--r--arch/riscv/cpu/ax25/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/riscv/cpu/ax25/Kconfig b/arch/riscv/cpu/ax25/Kconfig
index e9dbca2..68bd4e9 100644
--- a/arch/riscv/cpu/ax25/Kconfig
+++ b/arch/riscv/cpu/ax25/Kconfig
@@ -1,5 +1,11 @@
config RISCV_NDS
bool
+ select ARCH_EARLY_INIT_R
+ imply CPU
+ imply CPU_RISCV
+ imply RISCV_TIMER
+ imply ANDES_PLIC if RISCV_MMODE
+ imply ANDES_PLMT if RISCV_MMODE
help
Run U-Boot on AndeStar V5 platforms and use some specific features
which are provided by Andes Technology AndeStar V5 families.