From: Simon Glass Date: Tue, 26 Sep 2023 14:14:19 +0000 (-0600) Subject: spl: mx6: powerpc: Drop the condition on timer_init() X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=6c2bdf5c1a2daec80019b43e52a8537e7cb93ba2;p=u-boot.git spl: mx6: powerpc: Drop the condition on timer_init() It doesn't make sense to have some boards do this differently. Drop the condition in the hope that the maintainers can figure out any run-time problems. This has been tested on qemu-ppce500 Signed-off-by: Simon Glass Acked-by: Christophe Leroy --- diff --git a/common/spl/spl.c b/common/spl/spl.c index a58b070d17..d930d2083d 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -758,13 +758,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) if (spl_init()) hang(); } -#if !defined(CONFIG_PPC) && !defined(CONFIG_ARCH_MX6) - /* - * timer_init() does not exist on PPC systems. The timer is initialized - * and enabled (decrementer) in interrupt_init() here. - */ timer_init(); -#endif if (CONFIG_IS_ENABLED(BLOBLIST)) { ret = bloblist_init(); if (ret) {