18 Jan, 2020

3 commits


03 Dec, 2019

4 commits


12 Aug, 2019

3 commits


21 May, 2019

17 commits


21 Jan, 2019

1 commit


08 Dec, 2018

1 commit

  • This syncs drivers/ddr/marvell/a38x/ with the mv_ddr-armada-18.09 branch
    of https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git.
    Specifically this syncs with commit 99d772547314 ("Bump mv_ddr to
    release armada-18.09.2").

    The complete log of changes is best obtained from the mv-ddr-marvell.git
    repository but some relevant highlights are:

    ddr3: add missing txsdll parameter
    ddr3: fix tfaw timimg parameter
    ddr3: fix trrd timimg parameter
    merge ddr3 topology header file with mv_ddr_topology one
    mv_ddr: a38x: fix zero memory size scrubbing issue

    The upstream code is incorporated omitting the portions not relevant to
    Armada-38x and DDR3. After that a semi-automated step is used to drop
    unused features with unifdef

    find drivers/ddr/marvell/a38x/ -name '*.[ch]' | \
    xargs unifdef -m -UMV_DDR -UMV_DDR_ATF -UCONFIG_DDR4 \
    -UCONFIG_APN806 -UCONFIG_MC_STATIC \
    -UCONFIG_MC_STATIC_PRINT -UCONFIG_PHY_STATIC \
    -UCONFIG_64BIT -UCONFIG_A3700 -UA3900 -UA80X0 \
    -UA70X0

    Signed-off-by: Chris Packham
    Reviewed-by: Stefan Roese
    Tested-by: Baruch Siach
    Signed-off-by: Stefan Roese

    Chris Packham
     

30 Nov, 2018

1 commit

  • At present many TPM calls assume there is only one TPM in the system and
    look up this TPM themselves. This is inconsistent with driver model, which
    expects all driver methods to have a device parameter. Update the code to
    correct this.

    Signed-off-by: Simon Glass

    Simon Glass
     

29 Sep, 2018

1 commit


06 Aug, 2018

3 commits

  • 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
     
  • Use MVEBU_SPL_BOOT_DEVICE_* to select between SPI and MMC, instead of
    board specific symbols. This commit enables the boot device selection
    menu to all mvebu platforms, but it is only effective on Turris Omnia
    and gdsys Controlcenter DC platforms. A following commit will enable
    boot selection for other platforms.

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

    Baruch Siach
     
  • Use generic mvebu Kconfig symbols like all other mvebu boards.

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

    Baruch Siach
     

26 May, 2018

1 commit

  • There are no changes in this commit but a new organization of the code
    as follow.

    * cmd/ directory:
    > move existing code from cmd/tpm.c in cmd/tpm-common.c
    > move specific code in cmd/tpm-v1.c
    > create a specific header file with generic definitions for
    commands only called cmd/tpm-user-utils.h

    * lib/ directory:
    > move existing code from lib/tpm.c in lib/tpm-common.c
    > move specific code in lib/tpm-v1.c
    > create a specific header file with generic definitions for
    the library itself called lib/tpm-utils.h

    * include/ directory:
    > move existing code from include/tpm.h in include/tpm-common.h
    > move specific code in include/tpm-v1.h

    Code designated as 'common' is compiled if TPM are used. Code designated
    as 'specific' is compiled only if the right specification has been
    selected.

    All files include tpm-common.h.
    Files in cmd/ include tpm-user-utils.h.
    Files in lib/ include tpm-utils.h.
    Depending on the specification, files may include either (not both)
    tpm-v1.h or tpm-v2.h.

    Signed-off-by: Miquel Raynal
    Reviewed-by: Tom Rini
    [trini: Fix a few more cases of tpm.h -> tpm-v1.h, some Kconfig logic]
    Signed-off-by: Tom Rini

    Miquel Raynal
     

14 May, 2018

2 commits

  • This restores support for configuring the timing mode based on the
    ddr_topology. This was originally implemented in commit 90bcc3d38d2b
    ("driver/ddr: Add support for setting timing in hws_topology_map") but
    was removed as part of the upstream sync.

    Signed-off-by: Chris Packham
    Signed-off-by: Stefan Roese

    Chris Packham
     
  • This syncs drivers/ddr/marvell/a38x/ with the mv_ddr-armada-17.10 branch
    of https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git.

    The upstream code is incorporated omitting the ddr4 and apn806 and
    folding the nested a38x directory up one level. After that a
    semi-automated step is used to drop unused features with unifdef

    find drivers/ddr/marvell/a38x/ -name '*.[ch]' | \
    xargs unifdef -m -UMV_DDR -UMV_DDR_ATF -UCONFIG_DDR4 \
    -UCONFIG_APN806 -UCONFIG_MC_STATIC \
    -UCONFIG_MC_STATIC_PRINT -UCONFIG_PHY_STATIC \
    -UCONFIG_64BIT

    INTER_REGS_BASE is updated to be defined as SOC_REGS_PHY_BASE.

    Some now empty files are removed and the ternary license is replaced
    with a SPDX GPL-2.0+ identifier.

    Signed-off-by: Chris Packham
    Signed-off-by: Stefan Roese

    Chris Packham
     

09 May, 2018

2 commits


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini