public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH 00/23] m68knommu: clean up and merge common ColdFire UART code
@ 2012-02-23  4:34 gerg
  2012-02-23  4:34 ` [PATCH 01/23] m68knommu: make 5206 UART platform addressing consistent gerg
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: gerg @ 2012-02-23  4:34 UTC (permalink / raw)
  To: linux-m68k, uclinux-dev


The code to init and platform setup the ColdFire UART devices is duplicated
throughout the CPU specific config.c files. It is all common, these are the
same UARTs, just with different base addresses and IRQ numbers used.

Cleanup and merge the common UART code. Ends up saving quite a few hundred
lines of code.


 arch/m68k/platform/5206/config.c       |   78 +++------------------------------
 arch/m68k/platform/520x/config.c       |   65 +++++----------------------
 arch/m68k/platform/523x/config.c       |   23 ---------
 arch/m68k/platform/5249/config.c       |   63 +++-----------------------
 arch/m68k/platform/5272/config.c       |   46 +++----------------
 arch/m68k/platform/527x/config.c       |   44 ------------------
 arch/m68k/platform/528x/config.c       |   45 +------------------
 arch/m68k/platform/5307/config.c       |   78 +++------------------------------
 arch/m68k/platform/532x/config.c       |   42 +----------------
 arch/m68k/platform/5407/config.c       |   78 +++------------------------------
 arch/m68k/platform/54xx/config.c       |   76 +++-----------------------------
 arch/m68k/platform/coldfire/device.c   |   20 ++++++++
 b/arch/m68k/include/asm/m5206sim.h     |   10 ++--
 b/arch/m68k/include/asm/m520xsim.h     |   10 ++--
 b/arch/m68k/include/asm/m523xsim.h     |   12 +++--
 b/arch/m68k/include/asm/m5249sim.h     |    7 ++
 b/arch/m68k/include/asm/m5272sim.h     |    8 +--
 b/arch/m68k/include/asm/m527xsim.h     |   10 ++--
 b/arch/m68k/include/asm/m528xsim.h     |   12 +++--
 b/arch/m68k/include/asm/m5307sim.h     |   10 ++--
 b/arch/m68k/include/asm/m532xsim.h     |   10 ++--
 b/arch/m68k/include/asm/m5407sim.h     |    6 +-
 b/arch/m68k/include/asm/m54xxsim.h     |   16 ++++--
 b/arch/m68k/include/asm/mcfuart.h      |    5 +-
 b/arch/m68k/platform/5206/config.c     |   12 ++---
 b/arch/m68k/platform/520x/config.c     |   12 ++---
 b/arch/m68k/platform/523x/config.c     |   12 ++---
 b/arch/m68k/platform/5249/config.c     |   12 ++---
 b/arch/m68k/platform/5272/config.c     |    8 +--
 b/arch/m68k/platform/527x/config.c     |   12 ++---
 b/arch/m68k/platform/528x/config.c     |   12 ++---
 b/arch/m68k/platform/5307/config.c     |   12 ++---
 b/arch/m68k/platform/532x/config.c     |   12 ++---
 b/arch/m68k/platform/5407/config.c     |   12 ++---
 b/arch/m68k/platform/54xx/config.c     |   16 +++---
 b/arch/m68k/platform/coldfire/Makefile |    2 
 b/arch/m68k/platform/coldfire/device.c |   60 +++++++++++++++++++++++++
 37 files changed, 299 insertions(+), 669 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-02-23  4:36 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-23  4:34 [PATCH 00/23] m68knommu: clean up and merge common ColdFire UART code gerg
2012-02-23  4:34 ` [PATCH 01/23] m68knommu: make 5206 UART platform addressing consistent gerg
2012-02-23  4:34 ` [PATCH 02/23] m68knommu: make 520x " gerg
2012-02-23  4:34 ` [PATCH 03/23] m68knommu: make 523x " gerg
2012-02-23  4:34 ` [PATCH 04/23] m68knommu: make 5249 " gerg
2012-02-23  4:34 ` [PATCH 05/23] m68knommu: make 5272 " gerg
2012-02-23  4:34 ` [PATCH 06/23] m68knommu: make 527x " gerg
2012-02-23  4:34 ` [PATCH 07/23] m68knommu: make 5307 " gerg
2012-02-23  4:34 ` [PATCH 08/23] m68knommu: make 528x " gerg
2012-02-23  4:34 ` [PATCH 09/23] m68knommu: make 532x " gerg
2012-02-23  4:34 ` [PATCH 10/23] m68knommu: make 5407 " gerg
2012-02-23  4:34 ` [PATCH 11/23] m68knommu: make 54xx " gerg
2012-02-23  4:34 ` [PATCH 12/23] m68knommu: simplify the 5206 UART setup code gerg
2012-02-23  4:34 ` [PATCH 13/23] m68knommu: simplify the 520x " gerg
2012-02-23  4:34 ` [PATCH 14/23] m68knommu: simplify the 5249 " gerg
2012-02-23  4:34 ` [PATCH 15/23] m68knommu: simplify the 5272 " gerg
2012-02-23  4:34 ` [PATCH 16/23] m68knommu: simplify the 527x " gerg
2012-02-23  4:34 ` [PATCH 17/23] m68knommu: simplify the 528x " gerg
2012-02-23  4:34 ` [PATCH 18/23] m68knommu: simplify the 5307 " gerg
2012-02-23  4:34 ` [PATCH 19/23] m68knommu: simplify the 532x " gerg
2012-02-23  4:34 ` [PATCH 20/23] m68knommu: simplify the 5407 " gerg
2012-02-23  4:34 ` [PATCH 21/23] m68knommu: simplify the 54xx " gerg
2012-02-23  4:34 ` [PATCH 22/23] m68knommu: merge common ColdFire UART platform " gerg
2012-02-23  4:34 ` [PATCH 23/23] m68knommu: merge common ColdFire UART IRQ setup gerg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox