The code to init and platform setup the ColdFire FEC devices is duplicated throughout the CPU specific config.c files. It is all common, this is the same FEC hardware block, just with different base addresses and IRQ numbers used. Cleanup and merge the common FEC platform code. arch/m68k/platform/520x/config.c | 31 ------------- arch/m68k/platform/523x/config.c | 31 ------------- arch/m68k/platform/5272/config.c | 37 --------------- arch/m68k/platform/527x/config.c | 65 --------------------------- arch/m68k/platform/528x/config.c | 31 ------------- arch/m68k/platform/532x/config.c | 31 ------------- b/arch/m68k/include/asm/m520xsim.h | 11 +++- b/arch/m68k/include/asm/m523xsim.h | 13 ++++- b/arch/m68k/include/asm/m5272sim.h | 9 ++- b/arch/m68k/include/asm/m527xsim.h | 15 ++++++ b/arch/m68k/include/asm/m528xsim.h | 11 +++- b/arch/m68k/include/asm/m532xsim.h | 13 +++++ b/arch/m68k/platform/520x/config.c | 16 +++--- b/arch/m68k/platform/523x/config.c | 16 +++--- b/arch/m68k/platform/5272/config.c | 16 +++--- b/arch/m68k/platform/527x/config.c | 24 +++++----- b/arch/m68k/platform/528x/config.c | 16 +++--- b/arch/m68k/platform/532x/config.c | 16 +++--- b/arch/m68k/platform/coldfire/device.c | 78 +++++++++++++++++++++++++++++++++ 19 files changed, 192 insertions(+), 288 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html