[U-Boot] [PATCH] arm: mvebu: Add DM and OF_CONTROL support to SPL

Simon Glass sjg at chromium.org
Fri Nov 27 19:36:15 CET 2015


On 27 November 2015 at 02:22, Stefan Roese <sr at denx.de> wrote:
> This patch adds full DM support to the SPL on MVEBU. Currently
> only serial is supported. Other drivers will follow.
>
> This patch also adds the necessary config values for the DEBUG UART
> to the MVEBU defconfig files. This came in handy while implementing
> this DM support.
>
> Additionally, the mvebu specific SPL linker script is removed and
> this common one is used instead:
>
>    arch/arm/cpu/u-boot-spl.lds
>
> This common linker script already handles all special cases. No need
> to reinvent the wheel for MVEBU here.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Luka Perkov <luka.perkov at sartura.hr>
> Cc: Dirk Eibach <dirk.eibach at gdsys.cc>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  arch/arm/Kconfig                          |  2 ++
>  arch/arm/dts/armada-370-xp.dtsi           |  1 +
>  arch/arm/dts/armada-388-gp.dts            |  1 +
>  arch/arm/dts/armada-xp-gp.dts             |  1 +
>  arch/arm/mach-mvebu/include/mach/config.h |  5 ---
>  arch/arm/mach-mvebu/include/mach/soc.h    |  2 --
>  arch/arm/mach-mvebu/spl.c                 | 40 +++++++++++++++++++++-
>  arch/arm/mach-mvebu/u-boot-spl.lds        | 57 -------------------------------
>  board/Marvell/db-88f6820-gp/kwbimage.cfg  |  2 +-
>  board/Marvell/db-mv784mp-gp/kwbimage.cfg  |  2 +-
>  board/maxbcm/kwbimage.cfg                 |  2 +-
>  configs/db-88f6820-gp_defconfig           |  5 +++
>  configs/db-mv784mp-gp_defconfig           |  6 ++++
>  configs/maxbcm_defconfig                  |  6 ++++
>  include/configs/db-88f6820-gp.h           |  8 +++--
>  include/configs/db-mv784mp-gp.h           |  8 +++--
>  include/configs/maxbcm.h                  |  6 ++--
>  17 files changed, 77 insertions(+), 77 deletions(-)
>  delete mode 100644 arch/arm/mach-mvebu/u-boot-spl.lds

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list