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