]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: ax25: Add platform-specific Kconfig options
authorRick Chen <rick@andestech.com>
Tue, 2 Apr 2019 07:56:41 +0000 (15:56 +0800)
committerAndes <uboot@andestech.com>
Mon, 8 Apr 2019 01:45:08 +0000 (09:45 +0800)
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>
arch/riscv/cpu/ax25/Kconfig
configs/ae350_rv32_defconfig
configs/ae350_rv64_defconfig

index e9dbca2faeadac5cf6a2adbae1762c48d377922c..68bd4e941956885b0ca0496415dd07a1f88f7dd9 100644 (file)
@@ -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.
index 6e0be88d7c946edd3a10aca553cd38c8aa4ec60a..f02945599f55f76d9fabce162723f231a8530a19 100644 (file)
@@ -34,4 +34,3 @@ CONFIG_BAUDRATE=38400
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_ATCSPI200_SPI=y
-CONFIG_ATCPIT100_TIMER=y
index b472a76d17463723127cad710fbafd5fc9bc17ed..98635a2ff90ea0c4f71d5615c7beadc6e917daf4 100644 (file)
@@ -35,4 +35,3 @@ CONFIG_BAUDRATE=38400
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_ATCSPI200_SPI=y
-CONFIG_ATCPIT100_TIMER=y