From 9f15c41a7eb4a3a5ceca09808635ed78ff049706 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Tue, 5 Dec 2023 17:14:05 +0100 Subject: [PATCH] drivers/timer native: Replace native_posix with native_posix/sim This driver is applicable to both targets. Let's be clear about that. Signed-off-by: Alberto Escolar Piedras --- drivers/timer/Kconfig.native_posix | 4 ++-- drivers/timer/native_posix_timer.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/timer/Kconfig.native_posix b/drivers/timer/Kconfig.native_posix index 6fe1c3bde4..278feeec2a 100644 --- a/drivers/timer/Kconfig.native_posix +++ b/drivers/timer/Kconfig.native_posix @@ -4,12 +4,12 @@ # SPDX-License-Identifier: Apache-2.0 config NATIVE_POSIX_TIMER - bool "(POSIX) native_posix timer driver" + bool "(POSIX) native_sim/posix timer driver" default y depends on BOARD_NATIVE_POSIX select TICKLESS_CAPABLE select TIMER_HAS_64BIT_CYCLE_COUNTER select SYSTEM_TIMER_HAS_DISABLE_SUPPORT help - This module implements a kernel device driver for the native_posix HW timer + This module implements a kernel device driver for the native_sim/posix HW timer model diff --git a/drivers/timer/native_posix_timer.c b/drivers/timer/native_posix_timer.c index 31d1fc3bc6..7376034ef6 100644 --- a/drivers/timer/native_posix_timer.c +++ b/drivers/timer/native_posix_timer.c @@ -5,7 +5,7 @@ */ /** - * Driver for the timer model of the POSIX native_posix board + * Driver for the timer model of the POSIX native_sim/posix board * It provides the interfaces required by the kernel and the sanity testcases * It also provides a custom k_busy_wait() which can be used with the * POSIX arch and InfClock SOC