34 lines
490 B
Plaintext
34 lines
490 B
Plaintext
# Copyright (c) 2023 Rivos Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_SERIES_RISCV_OPENTITAN
|
|
|
|
config SOC_SERIES
|
|
default "opentitan"
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
default 1000000
|
|
|
|
config RISCV_SOC_INTERRUPT_INIT
|
|
default y
|
|
|
|
config RISCV_HAS_CPU_IDLE
|
|
default y
|
|
|
|
config RISCV_HAS_PLIC
|
|
default y
|
|
|
|
config RISCV_GP
|
|
default y
|
|
|
|
config 2ND_LVL_ISR_TBL_OFFSET
|
|
default 32
|
|
|
|
config 2ND_LVL_INTR_00_OFFSET
|
|
default 11
|
|
|
|
config NUM_IRQS
|
|
default 217
|
|
|
|
endif # SOC_SERIES_RISCV_OPENTITAN
|