diff options
author | Marek Vasut | 2023-03-23 01:20:40 +0100 |
---|---|---|
committer | Angelo Dureghello | 2023-04-15 21:36:07 +0200 |
commit | 56c3aa9ab9ed44113c043ac46dc47158bc304b20 (patch) | |
tree | be9a89785810fbb1a963f4a9b466ea42be072090 /common/board_f.c | |
parent | 35d48ea8c0543775bc9218e412553fd306b37de3 (diff) |
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/board_f.c')
-rw-r--r-- | common/board_f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index f3c1ab53b1c..1688e27071f 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) |