29 Feb, 2020

1 commit


05 Dec, 2019

2 commits


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
     

13 Nov, 2019

1 commit


08 Nov, 2019

1 commit


26 Aug, 2019

2 commits


14 Aug, 2019

1 commit


01 Aug, 2019

2 commits

  • This patch adds SPI and SPI_FLASH DM support for verified boot on
    TI AM335 chipsets. The following compile warning is removed:

    ===================== WARNING ======================
    This board does not use CONFIG_DM_SPI_FLASH. Please update
    the board to use CONFIG_SPI_FLASH before the v2019.07 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================

    Built and tested on AM335x device (BeagleboneBlack).

    Signed-off-by: Suniel Mahesh

    Suniel Mahesh
     
  • … support, disable in SPL

    This patch adds BLK and DM support for verified boot on TI AM335x
    chipsets. The following compile warnings are removed:

    ===================== WARNING ======================
    This board does not use CONFIG_DM_MMC. Please update
    the board to use CONFIG_DM_MMC before the v2019.04 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================
    ===================== WARNING ======================
    This board does not use CONFIG_DM_USB. Please update
    the board to use CONFIG_DM_USB before the v2019.07 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================

    BLK and DM_MMC are enabled by default in SPL as well, which is
    making the build to break with an overflow(spl image doesn't
    fit into SRAM because of size constraints).

    LD spl/drivers/built-in.o
    LD spl/u-boot-spl
    arm-linux-ld.bfd: u-boot-spl section .u_boot_list will not fit in region .sram
    arm-linux-ld.bfd: region .sram overflowed by 116 bytes
    make[1]: *** [spl/u-boot-spl] Error 1
    make: *** [spl/u-boot-spl] Error 2

    For the above reason BLK and DM_MMC is disabled in SPL.
    Built and tested on AM335x device (BeagleboneBlack).

    Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>

    Suniel Mahesh
     

18 Jul, 2019

1 commit


19 Apr, 2019

1 commit

  • USB_MUSB_TI requires USB_MUSB_DSPS, failing at link time if it's not
    selected:

    drivers/usb/musb-new/built-in.o: In function `ti_musb_host_ofdata_to_platdata':
    drivers/usb/musb-new/ti-musb.c:193: undefined reference to `musb_dsps_ops'

    or if OF_CONTROL is not selected:

    arch/arm/mach-omap2/built-in.o:(.data.usb0+0x24): undefined reference to `musb_dsps_ops'

    Reviewed-by: Hannes Schmelzer
    Tested-by: Hannes Schmelzer
    Signed-off-by: Alex Kiernan

    Alex Kiernan
     

26 Mar, 2019

1 commit

  • 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
     

11 Jan, 2019

1 commit


08 Jan, 2019

1 commit


15 Dec, 2018

1 commit


14 Nov, 2018

1 commit


04 Sep, 2018

1 commit


18 Aug, 2018

1 commit


04 Jun, 2018

1 commit


30 May, 2018

1 commit

  • Separate CMD_FASTBOOT from FASTBOOT and move code and configuration to
    drivers/fastboot.

    Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT as anyone who wants
    FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. Split
    USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing
    behaviour.

    Signed-off-by: Alex Kiernan
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Alex Kiernan
     

28 Apr, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_SPI

    This partly involves updating code that assumes that CONFIG_SPI implies
    things that are specific to the MPC8xx SPI driver. For now, just update
    the CONFIG tests. This also involves reworking the default for
    CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
    reasonable default, as it does not cause any compile failures.

    Signed-off-by: Adam Ford
    Signed-off-by: Tom Rini

    Adam Ford
     

09 Apr, 2018

2 commits


08 Apr, 2018

1 commit


15 Feb, 2018

1 commit


23 Jan, 2018

1 commit


01 Jan, 2018

1 commit

  • Commit b6251db8c3f0 ("Kconfig: Introduce USE_BOOTCOMMAND and migrate
    BOOTCOMMAND") removed CONFIG_BOOTCOMMAND option from
    include/configs/am335x_evm.h file. But that option wasn't added to
    defconfig files for BeagleBone Black board.

    Because of this we can't boot Linux from SD card using just
    "run bootcmd", getting next error:

    ** File not found /boot/undefined **

    That's because "fdtfile" variable has "undefined" value by default, and
    "bootcmd" doesn't call "run findfdt" command, which assigns "fdtfile" to
    correct device tree file for current board name (obtained from EEPROM).

    So we are forced to either call "run findfdt" command manually, or
    assign manually "fdtfile=am335x-boneblack.dtb" (e.g. in uEnv.txt file).

    Bring back CONFIG_BOOTCOMMAND to BBB defconfigs so that we can boot
    Linux rootfs from SD card automatically without any addition actions.

    Signed-off-by: Sam Protsenko

    Sam Protsenko
     

11 Oct, 2017

1 commit

  • 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
     

04 Oct, 2017

3 commits

  • Fastboot need a bunch of options to be operating properly, such as the
    g_dnl gadget, the fastboot command, and some options that make sense. Since
    fastboot is now part of Kconfig, make sure we have them right.

    That will also reduce the boilerplate in the defconfigs.

    Reviewed-by: Łukasz Majewski
    Reviewed-by: Simon Glass
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • The g_dnl USB settings for the vendor ID, product ID and manufacturer are
    actually common settings that can and should be shared by all the gadgets.

    Make them common by renaming them, and convert all the users.

    Reviewed-by: Simon Glass
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • The USB Ethernet gadget option has not yet been moved to Kconfig, let's
    deal with that.

    Reviewed-by: Łukasz Majewski
    Reviewed-by: Simon Glass
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

30 Sep, 2017

1 commit


02 Sep, 2017

1 commit


28 Aug, 2017

1 commit


14 Aug, 2017

1 commit


12 Aug, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_CMD_SPL

    Note that trats does not actually use SPL, so this option can no-longer be
    set.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Reviewed-by: Philipp Tomsich

    Simon Glass
     

09 Aug, 2017

1 commit