Hi Greg, I've done a similar thing for the 68000 cpu's. Ended up with a single platform/68000 directory and removed the 68328, 68EZ328 and 68VZ328 directories. When I have the time I'll prepare the patches and send them (probably latter today). I'm not sure if anyone is still building 3.x kernels for the 68[xx]328 SoC's but would be nice if someone could test building the kernel for the boards using those chips (hopefully I didn't break up anything). For the 68000 (and my board) it's working good. Regards, Luis On Wed, May 2, 2012 at 2:08 AM, <gerg@xxxxxxxxxxxx> wrote:
Currently the different ColdFire sub-archiectures are split up with a directory for each family type. Most though only contain a small amount of code, it just doesn't seem to make any sense to keep them separate. Move all the ColdFire sub-architecture code into the platform/coldfire directory, and remove the sub-architecture directories. We already build the common ColdFire components based on sub-architecture type anyway, so there is very little Makefile change required. Overall we remove about 200 lines of duplicated Makefile code, and end up with all the ColdFire specific code in a single directory. --- arch/m68k/Makefile | 10 ---------- arch/m68k/platform/5206/Makefile | 18 ------------------ arch/m68k/platform/520x/Makefile | 17 ----------------- arch/m68k/platform/523x/Makefile | 17 ----------------- arch/m68k/platform/5249/Makefile | 18 ------------------ arch/m68k/platform/5272/Makefile | 18 ------------------ arch/m68k/platform/527x/Makefile | 18 ------------------ arch/m68k/platform/528x/Makefile | 18 ------------------ arch/m68k/platform/5307/Makefile | 20 -------------------- arch/m68k/platform/532x/Makefile | 18 ------------------ arch/m68k/platform/5407/Makefile | 18 ------------------ arch/m68k/platform/54xx/Makefile | 19 ------------------- arch/m68k/platform/coldfire/Makefile | 24 ++++++++++++++---------- b/arch/m68k/Makefile | 2 -- b/arch/m68k/platform/coldfire/Makefile | 4 ++-- b/arch/m68k/platform/coldfire/m5206.c | 1 - b/arch/m68k/platform/coldfire/m520x.c | 1 - b/arch/m68k/platform/coldfire/m523x.c | 1 - b/arch/m68k/platform/coldfire/m5249.c | 1 - b/arch/m68k/platform/coldfire/m5272.c | 1 - b/arch/m68k/platform/coldfire/m527x.c | 1 - b/arch/m68k/platform/coldfire/m528x.c | 1 - b/arch/m68k/platform/coldfire/m532x.c | 1 - b/arch/m68k/platform/coldfire/m5407.c | 1 - b/arch/m68k/platform/coldfire/m54xx.c | 1 - b/arch/m68k/platform/coldfire/nettel.c | 1 - 26 files changed, 16 insertions(+), 234 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
-- 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