From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/u-boot/arch/arm/cpu/pxa/timer.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roms/u-boot/arch/arm/cpu/pxa/timer.c (limited to 'roms/u-boot/arch/arm/cpu/pxa/timer.c') diff --git a/roms/u-boot/arch/arm/cpu/pxa/timer.c b/roms/u-boot/arch/arm/cpu/pxa/timer.c new file mode 100644 index 000000000..8e9d61044 --- /dev/null +++ b/roms/u-boot/arch/arm/cpu/pxa/timer.c @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Marvell PXA2xx/3xx timer driver + * + * Copyright (C) 2011 Marek Vasut + */ + +#include +#include +#include + +int timer_init(void) +{ + writel(0, CONFIG_SYS_TIMER_COUNTER); + return 0; +} -- cgit