mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/11] arm: mvebu: SoC consolidation
@ 2013-05-19 18:23 Sebastian Hesselbarth
  2013-05-19 18:23 ` [PATCH 01/11] arm: mvebu: add more visible SoC separators to Kconfig Sebastian Hesselbarth
                   ` (12 more replies)
  0 siblings, 13 replies; 23+ messages in thread
From: Sebastian Hesselbarth @ 2013-05-19 18:23 UTC (permalink / raw)
  To: Sebastian Hesselbarth; +Cc: Thomas Petazzoni, barebox

After power-up, Marvell EBU SoCs are common enough to justify common
init code. All SoCs start up with internal registers mapped at 0xd0000000
and Linux wants them remapped to 0xf1000000 which gives ~512M contiguous
address space. As internal registers base address is remapped from within
internal registers itself, we do this remap as soon as possible.

This patch set consolidates lowlevel init for all MVEBU SoCs which is
currently performed on every board supported. Also common console UART
is created. Then Dove, Armada 370/XP, and Kirkwood are moved to use
common init functions, and finally all board specific init is removed
to its bare minimum.

The patch set has been tested on CuBox (Dove), Guruplug (Kirkwood),
Mirabox and OpenBlocks AX3 (Armada 370) by either me or Thomas Petazzoni.

Sebastian Hesselbarth (11):
  arm: mvebu: add more visible SoC separators to Kconfig
  arm: mvebu: introduce common lowlevel and early init
  arm: mvebu: introduce common console UART config
  arm: mvebu: convert Dove to common init
  arm: mvebu: convert Armada 370/XP to common init
  arm: mvebu: convert Kirkwood to common init
  arm: mvebu: convert SolidRun CuBox to common init
  arm: mvebu: convert Globalscale Mirabox to common init
  arm: mvebu: convert PlatHome OpenBlocks AX3 to common init
  arm: mvebu: convert Marvell Armada XP GP board to common init
  arm: mvebu: convert Globalscale Guruplug to common init

 arch/arm/boards/globalscale-guruplug/Makefile      |    3 +-
 .../board.c}                                       |   12 +--
 .../globalscale-guruplug/globalscale-guruplug.c    |   26 -----
 arch/arm/boards/globalscale-guruplug/lowlevel.c    |   26 -----
 arch/arm/boards/globalscale-mirabox/Makefile       |    3 +-
 .../lowlevel.c => globalscale-mirabox/board.c}     |   13 +--
 .../globalscale-mirabox/globalscale-mirabox.c      |   26 -----
 arch/arm/boards/marvell-armada-xp-gp/Makefile      |    3 +-
 arch/arm/boards/marvell-armada-xp-gp/board.c       |   17 ++++
 arch/arm/boards/plathome-openblocks-ax3/Makefile   |    3 +-
 arch/arm/boards/plathome-openblocks-ax3/board.c    |   17 ++++
 arch/arm/boards/plathome-openblocks-ax3/lowlevel.c |   25 -----
 arch/arm/boards/solidrun-cubox/Makefile            |    3 +-
 .../lowlevel.c => solidrun-cubox/board.c}          |   14 +--
 arch/arm/mach-mvebu/Kconfig                        |   30 ++++++
 arch/arm/mach-mvebu/Makefile                       |    2 +
 arch/arm/mach-mvebu/armada-370-xp.c                |  103 ++++++++------------
 arch/arm/mach-mvebu/common.c                       |   57 +++++++++++
 arch/arm/mach-mvebu/dove.c                         |   56 ++++-------
 .../mach-mvebu/include/mach/armada-370-xp-regs.h   |   47 +++++++++
 .../include/mach/common.h}                         |   16 ++-
 arch/arm/mach-mvebu/include/mach/debug_ll.h        |   23 +++--
 arch/arm/mach-mvebu/include/mach/dove-regs.h       |   21 ++--
 arch/arm/mach-mvebu/include/mach/kirkwood-regs.h   |   45 ++++++---
 .../include/mach/lowlevel.h}                       |   16 ++-
 arch/arm/mach-mvebu/kirkwood.c                     |   44 ++++-----
 .../globalscale-mirabox => mach-mvebu}/lowlevel.c  |    6 +-
 27 files changed, 335 insertions(+), 322 deletions(-)
 rename arch/arm/boards/{solidrun-cubox/solidrun-cubox.c => globalscale-guruplug/board.c} (67%)
 delete mode 100644 arch/arm/boards/globalscale-guruplug/globalscale-guruplug.c
 delete mode 100644 arch/arm/boards/globalscale-guruplug/lowlevel.c
 rename arch/arm/boards/{solidrun-cubox/lowlevel.c => globalscale-mirabox/board.c} (66%)
 delete mode 100644 arch/arm/boards/globalscale-mirabox/globalscale-mirabox.c
 create mode 100644 arch/arm/boards/marvell-armada-xp-gp/board.c
 create mode 100644 arch/arm/boards/plathome-openblocks-ax3/board.c
 delete mode 100644 arch/arm/boards/plathome-openblocks-ax3/lowlevel.c
 rename arch/arm/boards/{marvell-armada-xp-gp/lowlevel.c => solidrun-cubox/board.c} (64%)
 create mode 100644 arch/arm/mach-mvebu/common.c
 create mode 100644 arch/arm/mach-mvebu/include/mach/armada-370-xp-regs.h
 rename arch/arm/{boards/marvell-armada-xp-gp/marvell-armada-xp-gp.c => mach-mvebu/include/mach/common.h} (65%)
 rename arch/arm/{boards/plathome-openblocks-ax3/plathome-openblocks-ax3.c => mach-mvebu/include/mach/lowlevel.h} (64%)
 rename arch/arm/{boards/globalscale-mirabox => mach-mvebu}/lowlevel.c (80%)
---
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-05-21 17:49 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-19 18:23 [PATCH 00/11] arm: mvebu: SoC consolidation Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 01/11] arm: mvebu: add more visible SoC separators to Kconfig Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 02/11] arm: mvebu: introduce common lowlevel and early init Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 03/11] arm: mvebu: introduce common console UART config Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 04/11] arm: mvebu: convert Dove to common init Sebastian Hesselbarth
2013-05-21 13:49   ` Sascha Hauer
2013-05-21 15:24     ` Sebastian Hesselbarth
2013-05-21 17:49       ` Sascha Hauer
2013-05-19 18:23 ` [PATCH 05/11] arm: mvebu: convert Armada 370/XP " Sebastian Hesselbarth
2013-05-21  6:28   ` Sascha Hauer
2013-05-21  6:32     ` Sebastian Hesselbarth
2013-05-21  6:33     ` Sascha Hauer
2013-05-21  6:38       ` Sebastian Hesselbarth
2013-05-21  6:47         ` Sascha Hauer
2013-05-21  7:16           ` Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 06/11] arm: mvebu: convert Kirkwood " Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 07/11] arm: mvebu: convert SolidRun CuBox " Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 08/11] arm: mvebu: convert Globalscale Mirabox " Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 09/11] arm: mvebu: convert PlatHome OpenBlocks AX3 " Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 10/11] arm: mvebu: convert Marvell Armada XP GP board " Sebastian Hesselbarth
2013-05-19 18:23 ` [PATCH 11/11] arm: mvebu: convert Globalscale Guruplug " Sebastian Hesselbarth
2013-05-19 18:41 ` [PATCH 00/11] arm: mvebu: SoC consolidation Thomas Petazzoni
2013-05-19 18:42 ` Thomas Petazzoni

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