kernel_samsung_a53x/arch/m68k
Antonio Quartulli 40ca91e868 m68k: coldfire/device.c: only build FEC when HW macros are defined
[ Upstream commit 63a24cf8cc330e5a68ebd2e20ae200096974c475 ]

When CONFIG_FEC is set (due to COMPILE_TEST) along with
CONFIG_M54xx, coldfire/device.c has compile errors due to
missing MCFEC_* and MCF_IRQ_FEC_* symbols.

Make the whole FEC blocks dependent on having the HW macros
defined, rather than on CONFIG_FEC itself.

This fix is very similar to commit e6e1e7b19fa1 ("m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined")

Fixes: b7ce7f0d0efc ("m68knommu: merge common ColdFire FEC platform setup code")
To: Greg Ungerer <gerg@linux-m68k.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Signed-off-by: Greg Ungerer <gerg@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:12 +01:00
..
68000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amiga m68k: amiga: Turn off Warp1260 interrupts during boot 2024-11-23 23:20:13 +01:00
apollo Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atari m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages 2024-11-23 23:20:06 +01:00
bvme6000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
coldfire m68k: coldfire/device.c: only build FEC when HW macros are defined 2024-12-17 13:24:12 +01:00
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fpsp040 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp300 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ifpsp060 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x 2024-12-17 13:24:12 +01:00
kernel m68k: mvme147: Reinstate early console 2024-12-17 13:23:59 +01:00
lib Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mac m68k: mac: Fix reboot hang on Mac IIci 2024-11-19 12:26:56 +01:00
math-emu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvme16x m68k: mvme16x: Add and use "mvme16x.h" 2024-12-17 13:23:59 +01:00
mvme147 m68k: mvme147: Reinstate early console 2024-12-17 13:23:59 +01:00
q40 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tools/amiga Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
install.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.bus Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.cpu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.devices Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.machine Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00