23 Jan, 2020

1 commit


05 Dec, 2019

1 commit


21 Nov, 2019

1 commit

  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     

08 Nov, 2019

1 commit


23 Sep, 2019

1 commit


26 Aug, 2019

1 commit


02 Aug, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_USE_PREBOOT
    CONFIG_PREBOOT

    Both are together in one commit, since otherwise the former causes kconfig
    to define the latter, which gives duplicate symbol errors.

    Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the
    backslash lands in the wrong place. Similarly with socfpga_vining_fpga.

    Signed-off-by: Simon Glass

    Simon Glass
     

27 May, 2019

1 commit

  • This patch enables CONFIG_BLK and CONFIG_DM_MMC on helios4 to remove
    these compile warnings:

    ===================== WARNING ======================
    This board does not use CONFIG_DM_MMC. Please update
    the board to use CONFIG_DM_MMC before the v2019.04 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================
    ===================== WARNING ======================
    This board does not use CONFIG_DM_USB. Please update
    the board to use CONFIG_DM_USB before the v2019.07 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================

    Signed-off-by: Stefan Roese
    Cc: Dennis Gilmore

    Stefan Roese
     

30 Apr, 2019

2 commits


26 Mar, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_SF_DEFAULT_BUS
    CONFIG_SF_DEFAULT_CS
    CONFIG_SF_DEFAULT_MODE
    CONFIG_SF_DEFAULT_SPEED

    I use moveconfig script and then manual check on generated u-boot.cfg
    to solve the remaining issue.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay
     

07 Feb, 2019

1 commit

  • Now that new SPI NOR layer uses stateless 4 byte opcodes by default,
    don't enable SPI_FLASH_BAR. For SPI controllers that cannot support
    4-byte addressing, (stm32_qspi.c, fsl_qspi.c, mtk_qspi.c, ich.c,
    renesas_rpc_spi.c) add an imply clause to enable SPI_FLASH_BAR so as to
    not break functionality.

    Signed-off-by: Vignesh R
    Tested-by: Simon Goldschmidt
    Tested-by: Stefan Roese
    Tested-by: Horatiu Vultur
    Reviewed-by: Jagan Teki
    Tested-by: Jagan Teki #zynq-microzed

    Vignesh R
     

08 Jan, 2019

1 commit


08 Dec, 2018

4 commits

  • Enable SPI flash support under U-Boot and SPL. The ENV size and offset,
    ported from U-Boot 2013.01 Marvell version: 2015_T1.0p16

    To create U-Boot image for SPI flash, user would need to replace
    * CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC with CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI
    * CONFIG_ENV_IS_IN_MMC with CONFIG_ENV_IS_IN_SPI_FLASH

    Signed-off-by: Aditya Prayoga
    Reviewed-by: Stefan Roese
    Tested-By: Dennis Gilmore
    Reviewed-By: Dennis Gilmore
    Signed-off-by: Stefan Roese

    Aditya Prayoga
     
  • Remove unused I2C support in SPL and use simple_malloc functions to
    reduce SPL image size.
    Since Helios4 does not have any PCIe allocated on SerDes, remove PCI
    support. MTD layer on top of SPI flash is not needed, remove it also.

    Signed-off-by: Aditya Prayoga
    Reviewed-by: Stefan Roese
    Tested-By: Dennis Gilmore
    Reviewed-By: Dennis Gilmore
    Signed-off-by: Stefan Roese

    Aditya Prayoga
     
  • Make use of U-Boot's GPIO DM to control native GPIO and I2C IO expander.

    Signed-off-by: Aditya Prayoga
    Reviewed-by: Stefan Roese
    Tested-By: Dennis Gilmore
    Reviewed-By: Dennis Gilmore
    Signed-off-by: Stefan Roese

    Aditya Prayoga
     
  • Enable Marvell I2C driver and I2C IO expander. Set default bus to
    external I2C bus. Define I2C aliases in device tree so it can be
    recognized by the driver.

    Signed-off-by: Aditya Prayoga
    Reviewed-by: Stefan Roese
    Tested-By: Dennis Gilmore
    Reviewed-By: Dennis Gilmore
    Signed-off-by: Stefan Roese

    Aditya Prayoga
     

04 Sep, 2018

1 commit


18 Aug, 2018

1 commit


17 Aug, 2018

1 commit

  • We have the following cases:
    - CONFIG_NR_DRAM_BANKS was defined, migrate normally
    - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
    CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
    - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
    2), set this to 8.

    Signed-off-by: Tom Rini

    Tom Rini
     

08 Aug, 2018

1 commit


06 Aug, 2018

1 commit

  • Move the gdsys Controlcenter DC specific build time kwbimage.cfg
    generation code into the mach-mvebu/ directory to be shared by all 32bit
    mvebu platforms.

    Remove board specific kwbimage.cfg files, and use the generated one
    instead. These files are all identical, with two exceptions. Clearfog
    and Helios4 use the sdio boot device, whereas all others use spi. Update
    the defconfigs for the exceptional boards to generate the same
    kwbimage.cfg as before.

    Signed-off-by: Baruch Siach
    Signed-off-by: Stefan Roese

    Baruch Siach
     

10 Jul, 2018

1 commit


12 Jun, 2018

1 commit

  • The helios4 is built on the SolidRun Armada 38x SOM.
    The port os based on the ClearFog board, using information from
    https://github.com/helios-4/u-boot-marvell as well as dtb input
    from https://github.com/helios-4/linux-marvell

    Signed-off-by: Dennis Gilmore
    Signed-off-by: Dennis Gilmore
    Signed-off-by: Stefan Roese

    Dennis Gilmore