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] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support
Date: Sat, 25 Apr 2015 06:29:43 +0200	[thread overview]
Message-ID: <1429936196-13647-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 v3:
- Removed coherency feature as its not used in U-Boot at all as pointed
  out by Thomas Petazzoni
- Changed CONFIG_I2C_MVTWSI_BASE to CONFIG_I2C_MVTWSI_BASE0 for updates
  in mvtwsi I2C driver
- Added Tested-by from Dirk and Kevin

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: Remove coherency configuration
  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       |   3 -
 .../{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, 378 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.6

             reply	other threads:[~2015-04-25  4:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-25  4:29 Stefan Roese [this message]
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 01/13] arm: armada-xp: Move SoC sources to mach-mvebu Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 02/13] arm: armada-xp: Move SoC headers to mach-mvebu/include/mach Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 03/13] arm: mvebu: Move mvebu-common into mach-mvebu Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 04/13] arm: mvebu: Change header macros from ARMADA_XP to MVEBU Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 05/13] arm: mvebu: Remove unreferenced define Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 06/13] arm: mvebu: Only define MV88F78X60 for Armada XP Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 07/13] arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 08/13] arm: mvebu: Add basic Armada 38x support Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 09/13] arm: mvebu: Change network init code to allow a more flexible setup Stefan Roese
2015-05-04 22:50   ` Joe Hershberger
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 10/13] arm: mvebu: Remove coherency configuration Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 11/13] arm: mvebu: mv-common.h: Add CONFIG_PREBOOT Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 12/13] arm: mvebu: Add d-cache invalidate before enabling the d-cache Stefan Roese
2015-04-25  4:29 ` [U-Boot] [RESEND PATCH v3 13/13] arm: mvebu: Add Armada A38x DB-88F6820-GP board support Stefan Roese
2015-05-02 20:59 ` [U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support Simon Glass
2015-05-03  9:16   ` Stefan Roese
2015-05-03 17:20     ` Simon Glass
2015-05-04  7:50       ` Stefan Roese
2015-05-04 12:08         ` Simon Glass

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=1429936196-13647-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.