From 03921a3f693f3e1c6ecc6aeb01d2a75884c6e69c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Wed, 25 Dec 2024 17:57:00 +0100 Subject: [PATCH] lowlevel_init -> timer_init --- board/samsung/coreprimevelte/coreprimevelte.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/board/samsung/coreprimevelte/coreprimevelte.c b/board/samsung/coreprimevelte/coreprimevelte.c index db66cf21a1..7a8fe71eff 100644 --- a/board/samsung/coreprimevelte/coreprimevelte.c +++ b/board/samsung/coreprimevelte/coreprimevelte.c @@ -2,18 +2,15 @@ #include #include -void lowlevel_init(void) +int timer_init(void) { -#ifdef CONFIG_DEBUG_UART - printascii("Reached lowlevel_init()\n"); -#endif /* CONFIG_DEBUG_UART */ - u32 tmp = readl(0xd4015064); if ((tmp >> 16) != 0x319) - return; + return -1; writel(tmp | 1, 0xd4015064); writel(3, 0xd4101000); + return 0; } int board_init(void) -- 2.39.5