11 May, 2020

1 commit


27 Apr, 2020

10 commits

  • Enable CONFIG_CMD_USB_MASS_STORAGE by default to enable UMS flashing.

    Signed-off-by: Clement Faure
    Acked-by: Ye Li
    (cherry picked from commit 52fddd71c5fc2bf10d9e551197f90cf4096fbc71)

    Clement Faure
     
  • The latest mx7ulp evk board is renamed to EVKB board and has dedicated
    DTB files. Modify the kernel DTB names in u-boot to use the new DTB.

    Signed-off-by: Ye Li
    Acked-by: Peng Fan
    (cherry picked from commit 297a924ddaf456a5a175d9056c0bc45116cc49ce)

    Ye Li
     
  • iMX7ULP EVK boards enable fastboot as default to support uuu.

    Signed-off-by: Shenwei Wang
    Acked-by : Frank Li

    (cherry picked from commit 035506e86e4f054ec6e75a52e5d7fdbb0f18f8cd)
    Signed-off-by: Ye Li
    (cherry picked from commit 610f6b43c47ac963744442ec9801abf3ec0af784)

    Shenwei Wang
     
  • Specify the default dtb file for kernel boot per i.MX7ULP
    board config.

    Signed-off-by: Shenwei Wang
    Reviewed-by: Frank Li
    Reviewed-by: Ye Li
    (cherry picked from commit 3fba1c1a76cadfe0177e61a85eac3da10ee086e0)
    (cherry picked from commit 013eb1fdfdb33df19a0917fd554160a84ec45dd1)
    (cherry picked from commit 6052c4d6059f7f545f2f6d73bf77dd4fc5687130)

    Shenwei Wang
     
  • Since the u-boot size increases after using OF_CONTROL to including DTB,
    we have to adjust ENV_OFFSET to 896K for SD/eMMC/FLASH.

    Signed-off-by: Ye Li
    (cherry picked from commit 9d2df7407c58cd8b29fcbf57144e8ad9d8795207)
    (cherry picked from commit b2c8c63fe7eff0cd5aea875ddc94a2f70d42d6cd)

    Ye Li
     
  • Add board_late_mmc_env_init to support MMC device detection for environment
    variables.

    Signed-off-by: Ye Li
    (cherry picked from commit 6c2fe5b60692e7d0e86383c44792e5f2938bfa14)
    (cherry picked from commit 74f5fffe9aee3e1434b63b95e33e7ecc7e5a2b08)
    (cherry picked from commit 74b505dd70fc5ba5bb00ec0359ec6f79be757388)

    Ye Li
     
  • Since we can use USB ethernet instead of local ethernet, add ethernet support
    for it. To use USB ethernet function at u-boot, just plug in Micro-AB cable
    at USBOTG1 port with USB2Ethernet adapter connected.

    Signed-off-by: Peter Chen
    (cherry picked from commit 60ffddf87cf6b8502c5d5fc6540364adfd66ebb3)
    Signed-off-by: Ye Li
    (cherry picked from commit 63c2e1de37e1e24f35279f50efa5a330e2cb3d07)
    (cherry picked from commit c82f3bef0aa0cba4937eb6c39501e446dca01746)
    (cherry picked from commit b9d238f6e240e189299e49654ca3abf53e92cb28)

    Peter Chen
     
  • Porting codes to support USB OTG0 on the EVK board. Convert
    to use DM USB driver.

    Signed-off-by: Ye Li
    (cherry picked from commit b4e01a67a0740c524e7522da7ace0488f86261db)
    (cherry picked from commit 23144983d3347f8f91695cea73aab8558cc66629)
    (cherry picked from commit a5d3e7a334689b5c7b4e99f10c1a6044e4775699)

    Ye Li
     
  • Enable the CONFIG_ULP_WATCHDOG in defconfig, so that reset command
    can work.

    Signed-off-by: Ye Li
    (cherry picked from commit da1c290f0b890fafeb8ce29b53b764eaee53520b)
    (cherry picked from commit 7a4ba3eb22732ba0d4cc47552413bad8c1d94dbe)
    (cherry picked from commit 1a471f37b2ea74c1be5bde861576aa2bc4a679b6)

    Ye Li
     
  • Porting the QSPI flash board support from v2016.03, and convert to use
    DM QSPI driver.
    Since we need to support QSPI at default in u-boot, change the default
    DTS file to qspi enabled DTS.

    Signed-off-by: Ye Li
    (cherry picked from commit 41895cd598be6c4a64fc4fec521120e4962abc28)
    (cherry picked from commit b4698ce0e5b6952a88702075ce905a059da277d9)
    (cherry picked from commit 2fa81543fa49924a92a470cce62fbca7544ecd56)

    Ye Li
     

23 Jan, 2020

1 commit


17 Jan, 2020

1 commit

  • Currently the following build warning is seen:

    ===================== 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.
    ===================================================

    Since the mx7ulp-evk board does not have networking support, explicitly
    disable networking.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Peng Fan

    Fabio Estevam
     

04 Dec, 2019

1 commit


21 Nov, 2019

2 commits

  • - 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
     
  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

08 Oct, 2019

3 commits


24 Aug, 2019

1 commit


23 Jun, 2019

1 commit


05 May, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_SUPPORT_EMMC_BOOT

    As requested by Michal Simek , these boards
    have no eMMC so CONFIG_SUPPORT_EMMC_BOOT has not been migrated:

    xilinx_zynqmp_zc1275_revB
    xilinx_zynqmp_zc1751_xm018_dc4
    xilinx_zynqmp_zc1751_xm019_dc5
    xilinx_zynqmp_zcu100_revC
    xilinx_zynqmp_zcu102_rev1_0
    xilinx_zynqmp_zcu102_revA
    xilinx_zynqmp_zcu102_revB
    xilinx_zynqmp_zcu104_revA
    xilinx_zynqmp_zcu104_revC
    xilinx_zynqmp_zcu106_revA
    xilinx_zynqmp_zcu111_revA

    Signed-off-by: Alex Kiernan
    Acked-by: Lukasz Majewski
    Acked-by: Patrick Delaunay
    Acked-by: Ramon Fried
    Reviewed-by: Andy Shevchenko
    Tested-by: Sébastien Szymanski

    Alex Kiernan
     

19 Jan, 2019

1 commit

  • The bounce buffer is used by a few drivers (most of the MMC drivers)
    to overcome limitations in their respective DMA implementation.

    This moves the configuration to Kconfig and makes it user-selectable
    (even though it will be a required feature to make those drivers
    work): the expected usage is for drivers depending on this to 'select'
    it unconditionally from their respective Kconfig (see follow-up
    patches).

    This commit includes a full migration using moveconfig.py to ensure
    that each commit compiles. To ensure bisectability we update
    dependencies of various drivers to now select BOUNCE_BUFFER when needed.

    [trini: Squash all patches to ensure bisectability]
    Signed-off-by: Tom Rini
    Signed-off-by: Philipp Tomsich
    Reviewed-by: Otavio Salvador [dw_mmc portion]
    Reviewed-by: Fabio Estevam [mxsmmc portion]
    Reviewed-by: Simon Glass [tegra portion]

    Philipp Tomsich
     

04 Sep, 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
     

09 Apr, 2018

2 commits


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
     

08 Feb, 2018

1 commit


31 Oct, 2017

1 commit

  • When CONFIG_DM_MMC=y, CONFIG_BLK should be selected, otherwise the
    SD/eMMC card cannot be used.

    Also, select CONFIG_DM_USB=y when CONFIG_USB=y to avoid build failure.

    Tested on mx6slevk, mx7dsabresd and mx6ullevk.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Jaehoon Chung
    Tested-by: Adam Ford
    Tested-by: Sébastien Szymanski
    Tested-by: Jagan Teki
    Reviewed-by: Jagan Teki

    Fabio Estevam
     

12 Oct, 2017

1 commit


11 Oct, 2017

2 commits

  • The option is specified in Kconfig, but still a few config header files
    are overriding the choice by #undef'ing it. Re-sync the option with
    moveconfig to rid of the #undefs.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     
  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

28 Aug, 2017

1 commit


17 Aug, 2017

1 commit


15 Aug, 2017

1 commit


26 Jul, 2017

1 commit

  • 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
     

04 Jun, 2017

1 commit

  • Now that these symbols are in Kconfig, migrate all users. Use imply on
    a number of platforms that default to having this enabled. As part of
    this we must migrate some straglers for CMD_FAT and DOS_PARTITION.

    Signed-off-by: Tom Rini

    Tom Rini
     

01 May, 2017

1 commit


17 Mar, 2017

1 commit