All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Move mbus setup code out of drivers and into platform
@ 2011-11-12 20:00 Andrew Lunn
  2011-11-12 20:00 ` [PATCH 1/5] [orion] Consolidate the address map setup on Orion based platforms Andrew Lunn
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Andrew Lunn @ 2011-11-12 20:00 UTC (permalink / raw)
  To: linux-arm-kernel

The following patches move memory bus setup out of mach-* and drivers
and into the orion platform. The aim is to remove the *_mbus_dram_info
structure which is currently passed as platform_data, thus allowing
device tree to be used for these drivers. The change also allowed a
bit of consolidation of code scattered over the drivers.

Boot tested on kirkwood, compiled on dove, orion5x and mv78xx0.

Andrew Lunn (5):
  [orion] Consolidate the address map setup on Orion based platforms.
  [orion] Move the *_mbus_dram_info structure into the orion platform  
      and call it orion_mbus_dram_info everywhere.
  [orion] Move address map setup out of the drivers and into platform.
  [orion] Remove address map info from all platform data strucutures.
  [orion] Consolidate the address map setup code.

 arch/arm/mach-dove/addr-map.c                 |  121 ++++------
 arch/arm/mach-dove/common.c                   |   16 +-
 arch/arm/mach-dove/common.h                   |    1 -
 arch/arm/mach-dove/pcie.c                     |    4 +-
 arch/arm/mach-kirkwood/addr-map.c             |  137 +++--------
 arch/arm/mach-kirkwood/common.c               |   17 +-
 arch/arm/mach-kirkwood/common.h               |    1 -
 arch/arm/mach-kirkwood/mpp.c                  |    1 -
 arch/arm/mach-kirkwood/pcie.c                 |    4 +-
 arch/arm/mach-mv78xx0/addr-map.c              |  102 ++------
 arch/arm/mach-mv78xx0/common.c                |   22 +-
 arch/arm/mach-mv78xx0/common.h                |    1 -
 arch/arm/mach-mv78xx0/mpp.c                   |    1 -
 arch/arm/mach-mv78xx0/pcie.c                  |    4 +-
 arch/arm/mach-orion5x/addr-map.c              |  146 ++++-------
 arch/arm/mach-orion5x/common.c                |   23 +--
 arch/arm/mach-orion5x/common.h                |    3 +-
 arch/arm/mach-orion5x/include/mach/orion5x.h  |    2 +-
 arch/arm/mach-orion5x/mpp.c                   |    1 -
 arch/arm/mach-orion5x/pci.c                   |    5 +-
 arch/arm/plat-orion/Makefile                  |    2 +-
 arch/arm/plat-orion/addr-map.c                |  338 +++++++++++++++++++++++++
 arch/arm/plat-orion/common.c                  |   43 +---
 arch/arm/plat-orion/include/plat/addr-map.h   |   61 +++++
 arch/arm/plat-orion/include/plat/audio.h      |    3 -
 arch/arm/plat-orion/include/plat/common.h     |   17 +-
 arch/arm/plat-orion/include/plat/ehci-orion.h |    1 -
 arch/arm/plat-orion/include/plat/mv_xor.h     |    6 -
 arch/arm/plat-orion/include/plat/mvsdio.h     |    1 -
 arch/arm/plat-orion/include/plat/pcie.h       |    3 +-
 arch/arm/plat-orion/pcie.c                    |    6 +-
 drivers/ata/sata_mv.c                         |   38 +---
 drivers/dma/mv_xor.c                          |   38 +---
 drivers/dma/mv_xor.h                          |    5 -
 drivers/mmc/host/mvsdio.c                     |   28 +--
 drivers/mmc/host/mvsdio.h                     |    4 -
 drivers/net/mv643xx_eth.c                     |   45 +---
 drivers/usb/host/ehci-orion.c                 |   30 +--
 include/linux/ata_platform.h                  |    3 -
 sound/soc/kirkwood/kirkwood-dma.c             |   30 +--
 sound/soc/kirkwood/kirkwood.h                 |    4 -
 41 files changed, 627 insertions(+), 691 deletions(-)
 create mode 100644 arch/arm/plat-orion/addr-map.c
 create mode 100644 arch/arm/plat-orion/include/plat/addr-map.h

-- 
1.7.7.1

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

end of thread, other threads:[~2011-11-16 17:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-12 20:00 [PATCH 0/5] Move mbus setup code out of drivers and into platform Andrew Lunn
2011-11-12 20:00 ` [PATCH 1/5] [orion] Consolidate the address map setup on Orion based platforms Andrew Lunn
2011-11-12 20:00 ` [PATCH 2/5] [orion] Move the *_mbus_dram_info structure into the orion platform and call it orion_mbus_dram_info everywhere Andrew Lunn
2011-11-12 20:00 ` [PATCH 3/5] [orion] Move address map setup out of the drivers and into platform Andrew Lunn
2011-11-13 20:53   ` Michael Walle
2011-11-15  0:06   ` Nicolas Pitre
2011-11-15  7:41     ` Andrew Lunn
2011-11-15 22:14       ` Nicolas Pitre
2011-11-16  6:59         ` Andrew Lunn
2011-11-16 16:08           ` Nicolas Pitre
2011-11-16 16:49             ` Andrew Lunn
2011-11-16 17:18               ` Michael Walle
2011-11-16 17:25               ` Nicolas Pitre
2011-11-12 20:00 ` [PATCH 4/5] [orion] Remove address map info from all platform data strucutures Andrew Lunn
2011-11-12 20:00 ` [PATCH 5/5] [orion] Consolidate the address map setup code Andrew Lunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.