boards: arm: qemu_cortex_m0: move Kconfig definition to Kconfig

A board-level Kconfig option was defined in the Kconfig.defconfig file.
Move it to a board-level Kconfig file.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-02-15 15:40:39 +01:00 committed by Anas Nashif
commit aa69fe5ec9
2 changed files with 15 additions and 16 deletions

View file

@ -0,0 +1,14 @@
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config NRF_TIMER_TIMER
bool "nRF Timer Counter (NRF_TIMER0) Timer"
depends on CLOCK_CONTROL
depends on SOC_COMPATIBLE_NRF
depends on SYS_CLOCK_EXISTS
select TICKLESS_CAPABLE
default y
help
This module implements a kernel device driver for the nRF Timer
Counter NRF_TIMER0 and provides the standard "system clock driver"
interfaces.

View file

@ -8,23 +8,8 @@ if BOARD_QEMU_CORTEX_M0
config BOARD
default "qemu_cortex_m0"
if SYS_CLOCK_EXISTS
config NRF_TIMER_TIMER
bool "nRF Timer Counter (NRF_TIMER0) Timer"
depends on CLOCK_CONTROL
depends on SOC_COMPATIBLE_NRF
select TICKLESS_CAPABLE
default y
help
This module implements a kernel device driver for the nRF Timer
Counter NRF_TIMER0 and provides the standard "system clock driver"
interfaces.
config NRF_RTC_TIMER
default n
endif # SYS_CLOCK_EXISTS
default n if SYS_CLOCK_EXISTS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000