linux/arch/m68k/coldfire
Antonio Quartulli 63a24cf8cc m68k: coldfire/device.c: only build FEC when HW macros are defined
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 e6e1e7b19f ("m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined")

Fixes: b7ce7f0d0e ("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>
2024-11-11 08:57:01 +10:00
..
amcore.c m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
cache.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk.c m68k: coldfire: return success for clk_enable(NULL) 2021-08-23 08:40:04 +10:00
device.c m68k: coldfire/device.c: only build FEC when HW macros are defined 2024-11-11 08:57:01 +10:00
dma_timer.c m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar" 2023-08-21 08:45:36 +10:00
entry.S m68k: Replace GPL 2.0+ README.legal boilerplate with SPDX 2023-10-06 10:03:04 +02:00
firebee.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpio.c m68k: coldfire: Include the GPIO driver header 2019-09-09 09:32:32 +10:00
head.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intc-2.c m68k: Fix syntax errors in comments 2022-07-25 09:01:09 +10:00
intc-525x.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5249.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c m68k: coldfire: fix irq ranges 2021-04-23 15:33:40 +10:00
intc.c m68k: coldfire: make mcf_maskimr() static 2023-10-23 08:22:22 +10:00
m53xx.c m68k: fix typos in comments 2022-05-16 13:18:30 +10:00
m54xx.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m520x.c m68k: coldfire: remove private clk_get/clk_put 2021-06-08 17:00:09 +02:00
m523x.c m68k: coldfire: make symbol m523x_clk_lookup static 2022-07-25 09:01:09 +10:00
m525x.c m68k/coldfire: change pll var. to clk_pll 2021-07-26 08:41:38 +10:00
m527x.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m528x.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5206.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5249.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5272.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5307.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5407.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5441x.c m68k: m5441x: remove erroneous clock disable 2022-03-07 14:51:12 +10:00
Makefile kbuild: use obj-y instead extra-y for objects placed at the head 2022-10-02 18:04:05 +09:00
mcf8390.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
nettel.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c m68k: fix typos in comments 2022-05-16 13:18:30 +10:00
pit.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
reset.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
sltimers.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
stmark2.c m68k: stmark2: update board setup 2021-08-23 08:40:04 +10:00
timers.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
vectors.c arch: include linux/cpu.h for trap_init() prototype 2023-11-23 11:32:31 +01:00