# Copyright (c) 2020 Olof Kindgren <olof.kindgren@gmail.com>
# SPDX-License-Identifier: Apache-2.0

if SOC_RISCV32_SERVANT

config SYS_CLOCK_HW_CYCLES_PER_SEC
	int
	default 16000000

config RISCV_SOC_INTERRUPT_INIT
	bool
	default y

config NUM_IRQS
	int
	default 8

config SERV_TIMER
	bool
	default y

config ARCH_HAS_CUSTOM_CPU_IDLE
        bool
        default y

config ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
        bool
        default y

config RISCV_SOC_EXCEPTION_FROM_IRQ
	bool
	default y

endif # SOC_RISCV32_SERVANT
