2023-01-14 00:18:32 +01:00
|
|
|
# Copyright (c) 2023 Rivos Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-01-03 17:30:23 +01:00
|
|
|
if SOC_OPENTITAN
|
2023-01-14 00:18:32 +01:00
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 1000000
|
|
|
|
|
|
|
|
config RISCV_SOC_INTERRUPT_INIT
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RISCV_GP
|
|
|
|
default y
|
|
|
|
|
|
|
|
config 2ND_LVL_ISR_TBL_OFFSET
|
|
|
|
default 32
|
|
|
|
|
2023-04-25 22:53:22 +02:00
|
|
|
config 2ND_LVL_INTR_00_OFFSET
|
|
|
|
default 11
|
|
|
|
|
2023-01-14 00:18:32 +01:00
|
|
|
config NUM_IRQS
|
2024-01-19 17:48:41 +01:00
|
|
|
default 256
|
2023-01-14 00:18:32 +01:00
|
|
|
|
2024-01-03 17:30:23 +01:00
|
|
|
endif # SOC_OPENTITAN
|