27 Apr, 2020

3 commits

  • Add the uuu environment to each board, when booting from USB, the
    u-boot will use them by default

    Signed-off-by: Ye Li
    (cherry picked from commit e36e653ca2f5b0e879d84925219455790acaf2d2)

    Ye Li
     
  • Add defconfig for tee support;
    Enable the TZASC support;
    Add env config for tee support.

    Signed-off-by: Bai Ping
    Reviewed-by: Peng Fan
    (cherry picked from commit 3535868b89df84d3e6554114f7867f9ef908ff01)
    (cherry picked from commit 82a0b53092cdc0b025749f4d8f1cdfcc66e07db7)
    (cherry picked from commit dc1602c2d7f9d1ff021e46a9187bbcb10f172a71)
    (cherry picked from commit 181ae93e7b804db6dca4a0d2c3aaf547413428bb)

    Bai Ping
     
  • Porting functions from v2019.04 in board level codes:
    1. Add EPDC support
    2. Update environment settings
    3. Add LDO bypass and update PMIC settings
    4. Add keypad support
    5. Add plugin support
    6. Add DM ethernet driver support

    Signed-off-by: Ye Li
    (cherry picked from commit 88232c1cbf9389e82f8e00c1cc3fcd6456292ed4)

    Ye Li
     

10 Mar, 2020

1 commit

  • This fixes the following warning:

    ===================== WARNING ======================
    This board does not use CONFIG_DM_ETH (Driver Model
    for Ethernet drivers). Please update the board to use
    CONFIG_DM_ETH before the v2020.07 release. Failure to
    update by the deadline may result in board removal.
    See doc/driver-model/migration.rst for more info.
    ====================================================

    Signed-off-by: Pedro Jardim
    Reviewed-by: Fabio Estevam

    Pedro Jardim
     

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
     

26 Mar, 2019

2 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_SPI_BUS
    CONFIG_ENV_SPI_CS
    CONFIG_ENV_SPI_MAX_HZ
    CONFIG_ENV_SPI_MODE

    Most of time these value are not needed, CONFIG_SF_DEFAULT
    with same value is used, so I introduced CONFIG_USE_ENV_SPI_*
    to force the associated value for the environment.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay
     
  • 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
     

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
     

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
     

14 Feb, 2018

1 commit


12 Oct, 2017

1 commit

  • mx6slevk can run different kernel versions, such as NXP 4.1 or mainline.

    Currently the rootfs location is passed via mmcblk number and the
    problem with this approach is that the mmcblk number for the SD
    card changes depending on the kernel version.

    In order to avoid such issue, use the UUID method to specify the
    rootfs location.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

08 Sep, 2017

2 commits


08 Aug, 2017

1 commit


26 Jul, 2017

2 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_SPI_FLASH

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

16 May, 2017

2 commits

  • The following options are migrated over fully now:
    - USB_EHCI_ATMEL
    - USB_EHCI_MARVELL
    - USB_EHCI_MX6
    - USB_EHCI_MX7
    - USB_EHCI_MSM
    - USB_EHCI_ZYNQ
    - USB_EHCI_GENERIC

    This also requires fixing the depends on USB_EHCI_MARVELL as it's used
    by Orion5X and Kirkwood as well.

    Cc: Marek Vasut
    Signed-off-by: Tom Rini
    Reviewed-by: Marek Vasut

    Tom Rini
     
  • Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig.
    For a few SoCs, imply or default y this if USB is enabled. In some
    cases we had not already migrated to CONFIG_USB so do that as well.

    Cc: Marek Vasut
    Signed-off-by: Tom Rini
    Reviewed-by: Marek Vasut

    Tom Rini
     

15 May, 2017

1 commit


13 Apr, 2017

1 commit


07 Apr, 2017

1 commit

  • With d53ecad92f06 some unused interrupt related code was removed.
    However all of these options are currently unused. Rather than migrate
    some of these options to Kconfig we just remove the code in question.

    The only related code changes here are that in some cases we use
    CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename
    and move the value local to the code in question.

    Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")
    Signed-off-by: Tom Rini

    Tom Rini
     

21 Mar, 2017

2 commits


29 Jan, 2017

1 commit


26 Jan, 2017

1 commit


17 Sep, 2016

2 commits


10 Sep, 2016

1 commit


12 Jul, 2016

1 commit

  • Instead of passing the total RAM size via PHYS_SDRAM_SIZE option,
    we should better use imx_ddr_size() function, which automatically
    determines the RAM size.

    Signed-off-by: Vanessa Maegima
    Reviewed-by: Fabio Estevam
    Reviewed-by: Fabio Estevam

    Vanessa Maegima
     

26 Apr, 2016

2 commits


03 Feb, 2016

1 commit


25 Nov, 2015

1 commit


02 Oct, 2015

1 commit

  • The driver assumed that I2C1 and I2C2 were always enabled,
    and if they were not, then an asynchronous abort was (silently)
    raised, to be caught much later on in the Linux kernel.

    Fix this by making I2C1 and I2C2 optional just like I2C3 and I2C4
    are.

    To make the change binary-invariant, declare I2C1 and I2C2 in
    every include/configs/ file which defines CONFIG_SYS_I2C_MXC.

    Also, while updating README about CONFIG_SYS_I2C_MXC_I2C1 and
    CONFIG_SYS_I2C_MXC_I2C2, add missing descriptions for I2C4 speed
    (CONFIG_SYS_MXC_I2C4_SPEED) and slave (CONFIG_SYS_MXC_I2C4_SLAVE)
    config options.

    Signed-off-by: Albert ARIBAUD (3ADEV)

    Albert ARIBAUD \\(3ADEV\\)
     

13 Sep, 2015

2 commits

  • If the SD card does not contain the u-boot.img then we get the
    following error:

    U-Boot SPL 2015.10-rc2-23947-g7ad5930 (Sep 08 2015 - 14:10:29)
    ** Partition 1 not valid on device 0 **
    spl_register_fat_device: fat register err - -1
    spl_load_image_fat: error reading image u-boot.img, err - -1

    Remove CONFIG_SPL_FAT_SUPPORT and let CONFIG_SPL_MMC_SUPPORT do the
    job.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Rework imx_thermal driver to be used across i.MX
    processor that support thermal sensor

    Signed-off-by: Adrian Alonso
    Signed-off-by: Peng Fan

    Adrian Alonso
     

02 Sep, 2015

1 commit

  • Add SPL boot support for mx6slevk board.
    1. Introduce a configuration file mx6slevk_spl_defconfig.
    2. i.MX6SL has same DRAM space with i.MX6SX, need to change SPL DRAM SPACE.
    3. Include imx6_spl.h and related SPL macro in mx6slevk.h.
    4. select SUPPORT_SPL for TARGET_MX6SLEVK.
    5. Add SPL board code to do related initialization.

    Boot Log:

    U-Boot SPL 2015.07-00544-g1594a76 (Aug 17 2015 - 01:56:59)
    reading u-boot.img
    reading u-boot.img

    U-Boot 2015.07-00544-g1594a76 (Aug 17 2015 - 01:56:59 +0000)

    CPU: Freescale i.MX6SL rev1.2 996 MHz (running at 396 MHz)
    CPU: Commercial temperature grade (0C to 95C) at 50C
    Reset cause: POR
    Board: MX6SLEVK
    I2C: ready
    DRAM: 1 GiB
    PMIC: PFUZE100 ID=0x10
    MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Net: FEC [PRIME]
    Hit any key to stop autoboot: 0

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Fabio Estevam

    Peng Fan
     

10 Jul, 2015

1 commit


26 Jun, 2015

1 commit

  • Some archs/boards specify their own default by pre-defining the config
    which causes the Kconfig system to mix up the order of the configs in
    the defconfigs... This will cause merge pain if allowed to proliferate.

    Remove the configs that behave this way from the archs.

    A few configs still remain, but that is because they only exist as
    defaults and do not have a proper Kconfig entry. Those appear to be:

    SPIFLASH
    DISPLAY_BOARDINFO

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
    drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
    Signed-off-by: Tom Rini

    Joe Hershberger