All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/13] Add Marvell Armada A38x 88F6820 SoC support
Date: Tue, 14 Apr 2015 12:46:42 +0200	[thread overview]
Message-ID: <1429008415-27458-1-git-send-email-sr@denx.de> (raw)


This patch series adds support for the Marvell Armada A38x SoC's. Specifically
the 88F6820 / 88F6828.

Basic support for the DB-88F6820-GP evaluation board is added. Supporting the
following interfaces:
- UART
- SPI (including SPI NOR flash)
- I2C
- Ethernet (neta)

One big part of this new SoC support is the move of the already exisiting
Armada XP support into the "mach-mvebu" directory. With this move its
easier to re-use this code for the A38x, which is pretty similar to the
AXP.

Thanks,
Stefan

Changes in v2:
- Made mvebu_soc_family() globally available so that it can be called
  from mbus.c
- Add PL310 L2 cache base address
- Update to 256KiB env sector as required for M25P128
- Add I2C IO expander initialization (fan etc)
- Enable PL310 L2 cache as this is needed for correct caching OPs

Stefan Roese (13):
  arm: armada-xp: Move SoC sources to mach-mvebu
  arm: armada-xp: Move SoC headers to mach-mvebu/include/mach
  arm: mvebu: Move mvebu-common into mach-mvebu
  arm: mvebu: Change header macros from ARMADA_XP to MVEBU
  arm: mvebu: Remove unreferenced define
  arm: mvebu: Only define MV88F78X60 for Armada XP
  arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header
  arm: mvebu: Add basic Armada 38x support
  arm: mvebu: Change network init code to allow a more flexible setup
  arm: mvebu: Add dynamic SoC detection to mbus driver
  arm: mvebu: mv-common.h: Add CONFIG_PREBOOT
  arm: mvebu: Add d-cache invalidate before enabling the d-cache
  arm: mvebu: Add Armada A38x DB-88F6820-GP board support

 arch/arm/Kconfig                                   |   6 ++
 arch/arm/Makefile                                  |   5 +-
 arch/arm/cpu/armv7/Makefile                        |   1 -
 arch/arm/cpu/armv7/armada-xp/Makefile              |   9 --
 arch/arm/mach-mvebu/Makefile                       |  24 +++++
 arch/arm/{cpu/armv7/armada-xp => mach-mvebu}/cpu.c |  96 +++++++++++++++----
 arch/arm/{mvebu-common => mach-mvebu}/dram.c       |   0
 arch/arm/{mvebu-common => mach-mvebu}/gpio.c       |   0
 .../include/mach}/config.h                         |  15 ++-
 .../include/mach}/cpu.h                            |  13 ++-
 .../include/mach}/soc.h                            |  20 ++--
 .../armv7/armada-xp => mach-mvebu}/lowlevel_spl.S  |   0
 arch/arm/{mvebu-common => mach-mvebu}/mbus.c       |   5 +-
 .../{mvebu-common => mach-mvebu}/serdes/Makefile   |   0
 .../serdes/board_env_spec.h                        |   0
 .../serdes/high_speed_env_lib.c                    |   0
 .../serdes/high_speed_env_spec.c                   |   0
 .../serdes/high_speed_env_spec.h                   |   0
 arch/arm/{cpu/armv7/armada-xp => mach-mvebu}/spl.c |   0
 arch/arm/{mvebu-common => mach-mvebu}/timer.c      |   0
 .../{mvebu-common => mach-mvebu}/u-boot-spl.lds    |   0
 board/Marvell/db-88f6820-gp/Kconfig                |  15 +++
 board/Marvell/db-88f6820-gp/Makefile               |   7 ++
 board/Marvell/db-88f6820-gp/binary.0               |  16 ++++
 board/Marvell/db-88f6820-gp/db-88f6820-gp.c        | 103 +++++++++++++++++++++
 board/Marvell/db-88f6820-gp/kwbimage.cfg           |  12 +++
 board/Marvell/db-mv784mp-gp/Kconfig                |   2 +-
 board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c        |   3 +-
 board/maxbcm/Kconfig                               |   2 +-
 board/maxbcm/maxbcm.c                              |   2 +-
 configs/db-88f6820-gp_defconfig                    |   2 +
 include/configs/db-88f6820-gp.h                    |  72 ++++++++++++++
 include/configs/db-mv784mp-gp.h                    |   3 +-
 include/configs/maxbcm.h                           |   3 +-
 include/configs/mv-common.h                        |   1 +
 35 files changed, 380 insertions(+), 57 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/armada-xp/Makefile
 create mode 100644 arch/arm/mach-mvebu/Makefile
 rename arch/arm/{cpu/armv7/armada-xp => mach-mvebu}/cpu.c (71%)
 rename arch/arm/{mvebu-common => mach-mvebu}/dram.c (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/gpio.c (100%)
 rename arch/arm/{include/asm/arch-armada-xp => mach-mvebu/include/mach}/config.h (86%)
 rename arch/arm/{include/asm/arch-armada-xp => mach-mvebu/include/mach}/cpu.h (93%)
 rename arch/arm/{include/asm/arch-armada-xp => mach-mvebu/include/mach}/soc.h (81%)
 rename arch/arm/{cpu/armv7/armada-xp => mach-mvebu}/lowlevel_spl.S (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/mbus.c (99%)
 rename arch/arm/{mvebu-common => mach-mvebu}/serdes/Makefile (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/serdes/board_env_spec.h (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/serdes/high_speed_env_lib.c (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/serdes/high_speed_env_spec.c (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/serdes/high_speed_env_spec.h (100%)
 rename arch/arm/{cpu/armv7/armada-xp => mach-mvebu}/spl.c (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/timer.c (100%)
 rename arch/arm/{mvebu-common => mach-mvebu}/u-boot-spl.lds (100%)
 create mode 100644 board/Marvell/db-88f6820-gp/Kconfig
 create mode 100644 board/Marvell/db-88f6820-gp/Makefile
 create mode 100644 board/Marvell/db-88f6820-gp/binary.0
 create mode 100644 board/Marvell/db-88f6820-gp/db-88f6820-gp.c
 create mode 100644 board/Marvell/db-88f6820-gp/kwbimage.cfg
 create mode 100644 configs/db-88f6820-gp_defconfig
 create mode 100644 include/configs/db-88f6820-gp.h

-- 
2.3.5

             reply	other threads:[~2015-04-14 10:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14 10:46 Stefan Roese [this message]
2015-04-14 10:46 ` [U-Boot] [PATCH v2 01/13] arm: armada-xp: Move SoC sources to mach-mvebu Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 02/13] arm: armada-xp: Move SoC headers to mach-mvebu/include/mach Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 03/13] arm: mvebu: Move mvebu-common into mach-mvebu Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 04/13] arm: mvebu: Change header macros from ARMADA_XP to MVEBU Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 05/13] arm: mvebu: Remove unreferenced define Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 06/13] arm: mvebu: Only define MV88F78X60 for Armada XP Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 07/13] arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 08/13] arm: mvebu: Add basic Armada 38x support Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 09/13] arm: mvebu: Change network init code to allow a more flexible setup Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 10/13] arm: mvebu: Add dynamic SoC detection to mbus driver Stefan Roese
2015-04-14 15:31   ` Thomas Petazzoni
2015-04-15  8:45     ` Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 11/13] arm: mvebu: mv-common.h: Add CONFIG_PREBOOT Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 12/13] arm: mvebu: Add d-cache invalidate before enabling the d-cache Stefan Roese
2015-04-14 10:46 ` [U-Boot] [PATCH v2 13/13] arm: mvebu: Add Armada A38x DB-88F6820-GP board support Stefan Roese
2015-04-16 20:22 ` [U-Boot] [PATCH v2 0/13] Add Marvell Armada A38x 88F6820 SoC support Kevin Smith

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=1429008415-27458-1-git-send-email-sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 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.