diff options
author | Greg Ungerer <gerg@linux-m68k.org> | 2023-09-13 22:41:51 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2023-10-23 08:22:22 +1000 |
commit | 7bc3db03e3dd344c3dc93c1dfe684d53d2a5ffbf (patch) | |
tree | 62f78cb16e77d20e7e61d80d59564d1d4ce89d1b /arch/m68k/68000 | |
parent | 0100f67c46c04628ff4ce81d1f2f04924b83b14e (diff) | |
download | linux-stable-7bc3db03e3dd344c3dc93c1dfe684d53d2a5ffbf.tar.gz linux-stable-7bc3db03e3dd344c3dc93c1dfe684d53d2a5ffbf.tar.bz2 linux-stable-7bc3db03e3dd344c3dc93c1dfe684d53d2a5ffbf.zip |
m68knommu: fix compilation for ColdFire/Cleopatra boards
The ColdFire based Cleopatra family of boards use mostly the same
external pin arrangements as the NETtel board family. The build uses the
NETtel specific code as needed, but not all the conditional defines
allow for this. If you have the CONFIG_NETtel config option set
everything compiles as expected, but if you only select the
CONFIG_CLEOPATRA board type then you will get compile failures:
arch/m68k/coldfire/nettel.c: In function ‘nettel_smc91x_init’:
arch/m68k/coldfire/nettel.c:126:2: error: implicit declaration of function ‘mcf_setppdata’; did you mean ‘xas_set_update’? [-Werror=implicit-function-declaration]
mcf_setppdata(0, 0x0080);
^~~~~~~~~~~~~
xas_set_update
Fix the nettel.h include conditional checks to cover all board types.
This also means some code paths need to check for the 5407 SoC - since
one of the Cleopatra board types is based on that. It is very similar
to the 5307 specific code, and it can use that "as-is".
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/68000')
0 files changed, 0 insertions, 0 deletions