public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [v3] Add basic address decoding support for Marvell 370/XP
@ 2012-08-06  9:42 Thomas Petazzoni
  2012-08-06  9:42 ` [PATCH 1/5] arm: plat-orion: use 'void __iomem *' in addr-map code Thomas Petazzoni
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Thomas Petazzoni @ 2012-08-06  9:42 UTC (permalink / raw)
  To: linux-arm-kernel

Andrew, Jason, Gr?gory,

Here is a small patch set that introduces basic support for address
decoding on Armada 370 and Armada XP. The aim of this basic support is
essentially to be able to configure a window to remap the BootROM,
which is needed to startup the secondary CPUs for the SMP support.

As we had discussed already, the address decoding configuration is not
described in the Device Tree, it is for now hardcoded on a per-SoC
basis. We might later discuss how to extend this to the Device Tree.

This patch set has five patches:

 (*) First patch reworks the addr-map code to use void __iomem * where
     appropriate instead of u32, as per the suggestion of Arnd
     Bergmann.

 (*) Second patch introducing PLAT_ORION_LEGACY, which allows the
     Marvell 370/XP platforms to be part of PLAT_ORION, and therefore
     re-use the existing address decoding code.

 (*) Third patch making a small change to an address decoding
     structure so that we can define at runtime the virtual address of
     the configuration registers. This is needed as on Armada 370/XP
     the address decoding "controller" is declared in the Device Tree.

 (*) Fourth patch adding the 370/XP address decoding code itself. For
     now, it only maps the BootROM on Armada XP.

 (*) Fifth path adding the necessary DT code to instantiate the
     address decoding "controller".

Changes since v2:
 * Remove one more useless (void __iomem *) cast in the Armada 370/XP
   addr-map.c file, as noticed by Arnd Bergmann.

Changes since v1:
 * Use void __iomem * in addr-map code. Suggested by Arnd Bergmann.
 * Add Acked-by on patches 2->5 from Gr?gory Cl?ment

Thanks,

Thomas Petazzoni

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

end of thread, other threads:[~2012-08-29 15:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06  9:42 [v3] Add basic address decoding support for Marvell 370/XP Thomas Petazzoni
2012-08-06  9:42 ` [PATCH 1/5] arm: plat-orion: use 'void __iomem *' in addr-map code Thomas Petazzoni
2012-08-06  9:42 ` [PATCH 2/5] arm: plat-orion: introduce PLAT_ORION_LEGACY hidden config option Thomas Petazzoni
2012-08-06  9:42 ` [PATCH 3/5] arm: plat-orion: make bridge_virt_base non-const to support DT use case Thomas Petazzoni
2012-08-06  9:42 ` [PATCH 4/5] arm: mvebu: add basic address decoding support to Armada 370/XP Thomas Petazzoni
2012-08-06  9:42 ` [PATCH 5/5] arm: mvebu: add address decoding controller to the DT Thomas Petazzoni
2012-08-16 13:28 ` [v3] Add basic address decoding support for Marvell 370/XP Jason Cooper
2012-08-16 18:37   ` Jason Cooper
2012-08-17 13:21     ` Thomas Petazzoni
2012-08-19  1:23       ` Jason Cooper
2012-08-19 14:16         ` Arnd Bergmann
2012-08-21  9:46         ` Thomas Petazzoni
2012-08-21 10:37           ` Sebastian Hesselbarth
2012-08-21 11:50             ` Thomas Petazzoni
2012-08-21 12:45               ` Sebastian Hesselbarth
2012-08-27 23:35     ` Fix orion_nand build on ARCH_MVEBU Thomas Petazzoni
2012-08-27 23:35       ` [PATCH] mtd: orion_nand: remove <mach/hardware.h> include Thomas Petazzoni
2012-08-28  9:11         ` Andrew Lunn
2012-08-28  9:31           ` Sebastian Hesselbarth
2012-08-28 12:22           ` Thomas Petazzoni
2012-08-28 18:12         ` Jason Cooper
2012-08-29 15:46         ` Artem Bityutskiy

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