zephyr/soc/lowrisc/opentitan/Kconfig.defconfig
Shawn Nematbakhsh c8e9da2615 soc: lowrisc: opentitan: Fix manifest sizing
The actual manifest is 1024 bytes, but we previously had padding bytes
due to the implementation of SECTION_FUNC(). The manifest is not
executable code so SECTION_VAR() is appropriate and produces a section of
the appropriate size.

Fixes: #82822

Signed-off-by: Shawn Nematbakhsh <shawn@rivosinc.com>
2025-01-21 19:30:30 +01:00

26 lines
442 B
Text

# Copyright (c) 2023 Rivos Inc.
# SPDX-License-Identifier: Apache-2.0
if SOC_OPENTITAN
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000
config RISCV_SOC_INTERRUPT_INIT
default y
config 2ND_LVL_ISR_TBL_OFFSET
default 32
config 2ND_LVL_INTR_00_OFFSET
default 11
config NUM_IRQS
default 256
# The OpenTitan SoC requires a manifest in front of the
# application binary.
config ROM_START_OFFSET
default 0x400
endif # SOC_OPENTITAN