summaryrefslogtreecommitdiff
path: root/drivers/timer/Makefile
diff options
context:
space:
mode:
authorKuan-Wei Chiu <[email protected]>2026-01-07 20:18:31 +0000
committerTom Rini <[email protected]>2026-02-02 14:24:40 -0600
commit909f717eaf299a97fb87307e8606f3fdc6cb0c14 (patch)
tree6221580c2b98631290f8df00f3c9f842a5cf31f9 /drivers/timer/Makefile
parentbf55b84736d6b220dae11e3b1e7a670918d9daee (diff)
timer: Add Goldfish timer driver
Add support for the Goldfish timer driver. This driver utilizes the Goldfish RTC hardware to provide a nanosecond-resolution timer. This virtual device is commonly found in QEMU virtual machines (such as the m68k virt machine) and Android emulators. The driver implements the standard U-Boot timer UCLASS interface, exposing a 64-bit monotonically increasing counter with a 1GHz clock rate derived from the RTC registers. Signed-off-by: Kuan-Wei Chiu <[email protected]> Tested-by: Daniel Palmer <[email protected]> Reviewed-by: Yao Zi <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Angelo Dureghello <[email protected]>
Diffstat (limited to 'drivers/timer/Makefile')
-rw-r--r--drivers/timer/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/timer/Makefile b/drivers/timer/Makefile
index a72e411fb2f..d8b3f2b65d4 100644
--- a/drivers/timer/Makefile
+++ b/drivers/timer/Makefile
@@ -36,3 +36,4 @@ obj-$(CONFIG_MCHP_PIT64B_TIMER) += mchp-pit64b-timer.o
obj-$(CONFIG_IMX_GPT_TIMER) += imx-gpt-timer.o
obj-$(CONFIG_XILINX_TIMER) += xilinx-timer.o
obj-$(CONFIG_STARFIVE_TIMER) += starfive-timer.o
+obj-$(CONFIG_GOLDFISH_TIMER) += goldfish_timer.o