[PATCH v2 00/10] ARM: clearfog: add run-time board detect

Stefan Roese sr at denx.de
Tue Jan 21 14:00:58 CET 2020


On 20.01.20 13:20, Baruch Siach wrote:
> Newer revisions of SolidRun Clearfog Base/Pro carriers and Armada 388 SOM add
> EEPROM storage for board detection. This patch series adds support for reading
> EEPROM stored board information, and using it to set RAM training parameters,
> serdes configuration, and kernel DT selection.
> 
> The information is stored in EEPROM in TLV format defined for the ONIE project.
> 
>    https://opencomputeproject.github.io/onie/design-spec/hw_requirements.html
> 
> This series add the sys_eeprom command from ONIE carried U-Boot patch, with a
> number for changes as described in the patch log. The TLV format is unchanged.
> 
> This series also adds support for the newly introduced single board, Aramda 385
> based Clearfog GTR system. RAM configuration on that system requires both
> Armada 38x DDR clocks to be enabled. The first patch in this series adds the
> necessary code to allow per-board selection of DDR clock.
> 
> Changes in v2:
> 
>    * Fix checkpatch issues in TLV EEPROM code
> 
>    * Make TLV EEPROM API independent of static storage for compatibility with
>      pre-relocation code
> 
>    * Rename sys_eeprom to less generic tlv_eeprom throughout the code
> 
>    * Drop typedefs
> 
>    * Move board level TLV parse code to the common/ sub-directory for easier
>      reuse in other SolidRun platforms
> 
>    * Integrate fixes from Joel Johnson: add missing u-boot/crc.h include;
>      select SPL_DRIVERS_MISC_SUPPORT; fix build with CMD_TLV_EEPROM unset
> 
>    * Add review tags from Stefan Roese
> 
> Baruch Siach (10):
>    ddr: marvell: a38x: allow board specific clock out setup
>    arm: mvebu: clearfog: enable both DDR clocks
>    cmd: add tlv_eeprom command
>    ARM: mvebu: clearfog: add EEPROM devices
>    ARM: mvebu: clearfog: add support for EEPROM TLV info
>    ARM: mvebu: clearfog: read basic TLV data
>    ARM: mvebu: clearfog: print TLV stored product name
>    ARM: mvebu: clearfog: run-time selection of DT file
>    ARM: mvebu: clearfog: add Clearfog GTR support
>    ARM: mvebu: clearfog: add Clearfog Base serdes configuration

Complete series:

Applied to u-boot-marvell/master

Thanks,
Stefan


More information about the U-Boot mailing list