linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] base board consolidation
@ 2011-07-01  9:44 Uwe Kleine-König
  2011-07-01  9:46 ` [RFC PATCH 1/3] ARM: common abstraction for specifying a baseboard Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2011-07-01  9:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

for a customer who uses a SoC-module already supported in mainline but a
custom base board I'm currently coding the umpteenth baseboard
abstraction. So I tried to come up with a generic definition.

I converted only one machine (mx31moboard) for now, possible other users
I found are:

	mx31lilly
	mx31lite
	colibri-pxa270

but I wouldn't be surprised if there are more.

Patch 2 keeps the existing kernel parameter for mx31moboard. That can be
removed later as is done in patch 3. The latter shouldn't be applied now
and is only included to improve the diffstat :-)

At some time this will probably be obsoleted by device tree stuff, the
upside of this approach is that it already works today without the need
to adapt the bootloader.

Best regards
Uwe

The following changes since commit ca56a95eedcc95f8fea7b49c87565cd961d74fe2:

  Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 (2011-06-29 18:18:48 -0700)

are available in the git repository at:

  git.ptx:/git/ukl/linux-2.6.git baseboardconsolidation

Uwe Kleine-K?nig (3):
      ARM: common abstraction for specifying a baseboard
      ARM: imx/mx31moboard: convert to new baseboard handling
      ARM: imx/mx31moboard: remove obsolete baseboard handling

 Documentation/kernel-parameters.txt                |    2 +
 arch/arm/common/Kconfig                            |    3 +
 arch/arm/common/Makefile                           |    1 +
 arch/arm/common/baseboard.c                        |   58 ++++++++++++++++++++
 arch/arm/include/asm/baseboard.h                   |   31 +++++++++++
 arch/arm/mach-imx/Kconfig                          |    1 +
 arch/arm/mach-imx/mach-mx31moboard.c               |   38 +++++++-------
 arch/arm/mach-imx/mx31moboard-devboard.c           |    5 +-
 arch/arm/mach-imx/mx31moboard-marxbot.c            |    5 +-
 arch/arm/mach-imx/mx31moboard-smartbot.c           |   18 ++----
 arch/arm/plat-mxc/include/mach/board-mx31moboard.h |   16 ++----
 11 files changed, 133 insertions(+), 45 deletions(-)
 create mode 100644 arch/arm/common/baseboard.c
 create mode 100644 arch/arm/include/asm/baseboard.h
-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

end of thread, other threads:[~2011-07-04 12:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01  9:44 [RFC PATCH 0/3] base board consolidation Uwe Kleine-König
2011-07-01  9:46 ` [RFC PATCH 1/3] ARM: common abstraction for specifying a baseboard Uwe Kleine-König
2011-07-01  9:46   ` [RFC PATCH 2/3] ARM: imx/mx31moboard: convert to new baseboard handling Uwe Kleine-König
2011-07-01  9:46   ` [RFC PATCH 3/3] ARM: imx/mx31moboard: remove obsolete " Uwe Kleine-König
2011-07-04  8:19 ` [RFC PATCH 0/3] base board consolidation Philippe Rétornaz
2011-07-04  8:27 ` Russell King - ARM Linux
2011-07-04 10:20   ` Daniel Mack
2011-07-04 10:38     ` Russell King - ARM Linux
2011-07-04 11:55       ` Marek Vasut
2011-07-04 12:33         ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).