m68k: m68328: remove duplicate code
authorArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 14:26:24 +0000 (15:26 +0100)
committerGreg Ungerer <gerg@linux-m68k.org>
Sun, 6 Dec 2020 23:37:58 +0000 (09:37 +1000)
commit8b22820efb35f93d98638563b0a8f4094e8ee399
treec77b510fff317ef77913d4fad7def80654b9abaf
parenta734bbf694270dca8594a5c33375867dc31503f5
m68k: m68328: remove duplicate code

Building a kernel with multiple dragonball based boards
enabled needlessly causes a link failure because of duplicate
config_BSP() functions between the CPU versions.

Avoid that merging the three almost identical files into one,
and hiding the CPU configuration behind the board config.
The pr_info() lines are consolidated in one place.

It is still not possible to run a kernel configured for
more than one board, but at least configurations that can
be selected can also be built now.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/68000/Makefile
arch/m68k/68000/m68328.c
arch/m68k/68000/m68EZ328.c [deleted file]
arch/m68k/68000/m68VZ328.c [deleted file]
arch/m68k/Kconfig.cpu
arch/m68k/Kconfig.machine
arch/m68k/kernel/setup_no.c