From: Duje Mihanović Date: Wed, 25 Dec 2024 16:57:00 +0000 (+0100) Subject: lowlevel_init -> timer_init X-Git-Url: http://git.dujemihanovic.xyz/%22/icons/right.gif/static/git-favicon.png?a=commitdiff_plain;h=03921a3f693f3e1c6ecc6aeb01d2a75884c6e69c;p=u-boot.git lowlevel_init -> timer_init --- 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)