aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-03-23 01:20:40 +0100
committerAngelo Dureghello <angelo@kernel-space.org>2023-04-15 21:36:07 +0200
commit56c3aa9ab9ed44113c043ac46dc47158bc304b20 (patch)
treebe9a89785810fbb1a963f4a9b466ea42be072090 /common
parent35d48ea8c0543775bc9218e412553fd306b37de3 (diff)
downloadu-boot-56c3aa9ab9ed44113c043ac46dc47158bc304b20.zip
u-boot-56c3aa9ab9ed44113c043ac46dc47158bc304b20.tar.gz
u-boot-56c3aa9ab9ed44113c043ac46dc47158bc304b20.tar.bz2
arch: m68k: Introduce trivial PIT based timer
The QEMU emulation of m68k does not support DMA timer, the only timer that is supported is the PIT timer. Implement trivial PIT timer support for m68k. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index f3c1ab5..1688e27 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -863,7 +863,7 @@ static const init_fnc_t init_sequence_f[] = {
/* get CPU and bus clocks according to the environment variable */
get_clocks, /* get CPU and bus clocks (etc.) */
#endif
-#if !defined(CONFIG_M68K)
+#if !defined(CONFIG_M68K) || (defined(CONFIG_M68K) && !defined(CONFIG_MCFTMR))
timer_init, /* initialize timer */
#endif
#if defined(CONFIG_BOARD_POSTCLK_INIT)