Skip to content

Commit

Permalink
m68knommu: fix non-mmu classic 68000 legacy timer tick selection
Browse files Browse the repository at this point in the history
The family of classic 68000 parts supported when in non-mmu mode all
currently use the legacy timer support. Move the selection of that config
option, LEGACY_TIMER_TICK, into the core CPU configuration.

This fixes compilation if no specific CPU variant is selected, since
the LEGACY_TIMER_TICK option was only selected in the specific CPU
variant configurations.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
  • Loading branch information
Greg Ungerer committed Sep 26, 2022
1 parent 750321a commit 18011e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/m68k/Kconfig.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ config M68000
select GENERIC_CSUM
select CPU_NO_EFFICIENT_FFS
select HAVE_ARCH_HASH
select LEGACY_TIMER_TICK
help
The Freescale (was Motorola) 68000 CPU is the first generation of
the well known M68K family of processors. The CPU core as well as
Expand Down Expand Up @@ -97,23 +98,20 @@ config M68060
config M68328
bool
depends on !MMU
select LEGACY_TIMER_TICK
select M68000
help
Motorola 68328 processor support.

config M68EZ328
bool
depends on !MMU
select LEGACY_TIMER_TICK
select M68000
help
Motorola 68EX328 processor support.

config M68VZ328
bool
depends on !MMU
select LEGACY_TIMER_TICK
select M68000
help
Motorola 68VZ328 processor support.
Expand Down

0 comments on commit 18011e5

Please sign in to comment.