summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-26 08:14:19 -0600
committerTom Rini <trini@konsulko.com>2023-10-06 14:38:12 -0400
commit6c2bdf5c1a2daec80019b43e52a8537e7cb93ba2 (patch)
tree2a381d424d10fcb8242fa4adb86af66f38a07be5
parent52779874dac3f096f9f7893f0b3603aeff4c646b (diff)
downloadu-boot-6c2bdf5c1a2daec80019b43e52a8537e7cb93ba2.tar.gz
u-boot-6c2bdf5c1a2daec80019b43e52a8537e7cb93ba2.tar.bz2
u-boot-6c2bdf5c1a2daec80019b43e52a8537e7cb93ba2.zip
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 <sjg@chromium.org> Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
-rw-r--r--common/spl/spl.c6
1 files changed, 0 insertions, 6 deletions
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) {