public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: <gerg@snapgear.com>
To: linux-m68k@vger.kernel.org, uclinux-dev@uclinux.org
Subject: [PATCH 00/23] m68knommu: clean up and merge common ColdFire UART code
Date: Thu, 23 Feb 2012 14:34:32 +1000	[thread overview]
Message-ID: <1329971695-2203-1-git-send-email-gerg@snapgear.com> (raw)


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(-)

             reply	other threads:[~2012-02-23  4:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23  4:34 gerg [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1329971695-2203-1-git-send-email-gerg@snapgear.com \
    --to=gerg@snapgear.com \
    --cc=linux-m68k@vger.kernel.org \
    --cc=uclinux-dev@uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox