modules: vega: add option for indicating the presence of RV32M1 TPM
Add Kconfig option for indicating that a given SoC contains the OpenISA RV32M1 Timer/PWM module (TPM). Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
c989ab8b05
commit
ce9141236b
2 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,11 @@ config HAS_RV32M1_LPSPI
|
|||
help
|
||||
Set if the low power spi (LPSPI) module is present in the SoC.
|
||||
|
||||
config HAS_RV32M1_TPM
|
||||
bool
|
||||
help
|
||||
Set if the Timer/PWM (TPM) module is present in the SoC.
|
||||
|
||||
config HAS_RV32M1_FTFX
|
||||
bool
|
||||
help
|
||||
|
|
|
@ -10,6 +10,7 @@ config SOC_OPENISA_RV32M1_RISCV32
|
|||
select HAS_RV32M1_LPUART
|
||||
select HAS_RV32M1_LPI2C
|
||||
select HAS_RV32M1_LPSPI
|
||||
select HAS_RV32M1_TPM
|
||||
select ATOMIC_OPERATIONS_C
|
||||
select VEGA_SDK_HAL
|
||||
select RISCV_SOC_INTERRUPT_INIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue