29 Oct, 2020

1 commit


01 May, 2020

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


22 Aug, 2019

1 commit

  • DM_I2C_COMPAT is a compatibility layer that allows using the non-DM
    I2C API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for
    compilation, a compilation error will be generated. This patch
    solves the problem that the i2c-related api of the ls1088a platform
    does not support dm.

    Signed-off-by: Chuanhua Han
    Reviewed-by: Prabhakar Kushwaha

    Chuanhua Han
     

30 Apr, 2019

1 commit


15 Mar, 2019

1 commit


03 Mar, 2019

1 commit


19 Feb, 2019

1 commit


18 Jan, 2019

1 commit

  • TFABOOT support includes:
    - ls1088ardb_tfa_defconfig to be loaded by trusted firmware
    - environment address and size changes for TFABOOT
    - MC address changes for TFABOOT
    - define BOOTCOMMAND for TFABOOT
    - ifc chip select changes for TFABOOT

    Signed-off-by: Rajesh Bhagat
    Signed-off-by: Pankit Garg
    Reviewed-by: York Sun

    Pankit Garg
     

07 Dec, 2018

1 commit


23 Aug, 2018

1 commit

  • This patch reverts the changes made for ls1088a and ls2080a
    based boards in commit 18b6dd6cb0564 ("armv8: layerscape: Drop
    u-boot-with-spl.bin for selected boards").

    u-boot-with-spl.bin is required for Gen3 based SoC where internal
    ROM copy data in the internal memory

    CC: Prabhakar Kushwaha
    CC: Priyanka Jain
    CC: Pramod Kumar
    CC: Ashish Kumar
    CC: York Sun
    Signed-off-by: Jagdish Gediya
    Reviewed-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Jagdish Gediya
     

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
     

27 Jul, 2018

2 commits


19 Jul, 2018

1 commit


11 Jul, 2018

1 commit


09 May, 2018

1 commit


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
     

15 Apr, 2018

1 commit


29 Mar, 2018

1 commit

  • NXP layerscape platforms like ls1088a, ls2088a
    uses MXC I2C Controller.
    -Remove dependency of MX6 for the same.

    Update related configs to use Kconfig file.
    -Add SYS_I2C_MXC_I2C1,_I2C2,_I2C3,_I2C4 in Kconfig
    -Add CONFIG_SYS_MXC_I2C1_SPEED,_I2C2_,_I2C3_,_I2C4_ in Kconfig
    -Add CONFIG_SYS_MXC_I2C1_SLAVE,_I2C2_,_I2C3_,_I2C4_ in Kconfig

    Signed-off-by: Sriram Dash
    Signed-off-by: Priyanka Jain

    Sriram Dash
     

16 Mar, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_CONS_INDEX

    We have existing entries for this option in a number of places, with
    different guards on them. They're also sometimes used for things not
    directly inside of the serial driver. First, introduce a new symbol to
    guard the use of CONFIG_CONS_INDEX, so that in the case where we don't
    need this for the serial driver, but for some other use, we can still do
    it. Next, consolidate all of these into the single entry in
    drivers/serial/Kconfig. Finally, introduce CONS_INDEX_[023456] so that
    we can imply a correct value here to make the defconfig side of this
    smaller.

    Signed-off-by: Adam Ford
    [trini: Rework a lot of the logic here, such that I took authorship from
    Adam, but kept his S-o-B line]
    Signed-off-by: Tom Rini

    Tom Rini
     

24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

15 Feb, 2018

1 commit

  • Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
    current set of options we have in Kconfig. We will need to have some
    options available for SPL and !SPL_FRAMEWORK so this is important. In a
    few cases we re-order existing options so that we have less escapes from
    the SPL_FRAMEWORK guard.

    Signed-off-by: Tom Rini

    Tom Rini
     

11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

18 Jan, 2018

1 commit


11 Jan, 2018

2 commits

  • Signed-off-by: Udit Agarwal
    Signed-off-by: Sumit Garg
    [YS: run moveconfig.py -s]
    Reviewed-by: York Sun

    Sumit Garg
     
  • Using changes in this patch we were able to reduce approx 8k
    size of u-boot-spl.bin image. Following is breif description of
    changes to reduce SPL size:
    1. Changes in board/freescale/ls1088a/Makefile to remove
    compilation of eth.c and cpld.c in case of SPL build.
    2. Changes in board/freescale/ls1088a/ls1088a.c to keep
    board_early_init_f funcations in case of SPL build.
    3. Changes in ls1088a_common.h & ls1088ardb.h to remove driver
    specific macros due to which static data was being compiled in
    case of SPL build.

    Signed-off-by: Sumit Garg
    Reviewed-by: York Sun

    Sumit Garg
     

27 Dec, 2017

1 commit


13 Dec, 2017

2 commits


07 Dec, 2017

1 commit

  • Validates PPA, MC, DPC, Bootscript, DPL and Kernel images in ESBC
    phase using esbc_validate command.

    Enable validation of boot.scr script prior to its execution dependent
    on "secureboot" flag in environment

    Add header address for PPA to be validated during ESBC phase for
    LS1088A platform based on LAyerscape Chasis 3.

    Moves sec_init prior to ppa_init as for validation of PPA sec must
    be initialised before the PPA is initialised.

    Signed-off-by: Udit Agarwal
    Signed-off-by: Vinitha Pillai-B57223
    Signed-off-by: Sumit Garg
    Reviewed-by: York Sun

    Udit Agarwal
     

16 Nov, 2017

2 commits


09 Oct, 2017

1 commit

  • The MC boot sequence is contained in mc_env_boot. Update LS1088A
    boards to use this function, and hook it to reset_phy so that it's
    called late enough, after the ports have been initialized, for
    proper DPC / DPL fixup.

    Signed-off-by: Bogdan Purcareata
    Reviewed-by: York Sun

    Bogdan Purcareata
     

11 Sep, 2017

2 commits