05 Dec, 2019

3 commits


04 Dec, 2019

1 commit


21 Nov, 2019

1 commit

  • 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 Nov, 2019

1 commit


12 Oct, 2019

1 commit

  • AM335x-ICE boards contain the CDCE913 clock synthesizer, and their
    reset crystal capacitance load value of 10pF is wrong leading into
    lost packets in certain networking tests. Add DT data for this
    device, and probe it from the board file to program the crystal
    capacitance load value to 0pF to avoid any problems.

    Signed-off-by: Tero Kristo

    Tero Kristo
     

26 Aug, 2019

1 commit


14 Aug, 2019

1 commit


13 Aug, 2019

1 commit

  • This patch disables DM watchdog support for SPL builds and uses
    the legacy omap watchdog driver on TI AM335x chipsets.

    The following build error is reported if DM watchdog support was
    enabled in SPL:

    CC spl/drivers/usb/gadget/rndis.o
    LD spl/drivers/usb/gadget/built-in.o
    LD spl/drivers/usb/musb-new/built-in.o
    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 440 bytes
    make[1]: *** [spl/u-boot-spl] Error 1
    make: *** [spl/u-boot-spl] Error 2

    Adjusted WATCHDOG_RESET macro accordingly. Earlier it was pointing
    to hw_watchdog_reset. Since CONFIG_WATCHDOG replaces CONFIG_HW_WATCHDOG,
    now WATCHDOG_RESET macro points to watchdog_reset. This watchdog_reset
    is not defined anywhere for am33xx/omap2 and needs to be defined. Fixed
    this by simply calling hw_watchdog_reset in watchdog_reset.

    Built and tested on AM335x device (BeagleboneBlack), compile tested for
    all other AM33xx/omap2 based boards.

    Signed-off-by: Suniel Mahesh
    [trini: Fix watchdog.h logic]
    Signed-off-by: Tom Rini

    Suniel Mahesh
     

12 Aug, 2019

1 commit

  • This patch adds device tree and driver model watchdog support,
    converts the legacy omap watchdog driver to driver model for
    TI AM335x chipsets. The following compile warning is removed:

    ===================== WARNING ======================
    This board does not use CONFIG_WDT (DM watchdog support).
    Please update the board to use CONFIG_WDT before the
    v2019.10 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================

    CONFIG_HW_WATCHDOG is no more a default option for AM33XX devices
    after DT/DM conversion, adjusted kconfig accordingly.

    DM watchdog support is enabled by default in SPL. The SPL image
    doesn't fit into SRAM because of size constraints and build breaks
    with an overflow. For this reason DM watchdog support should be
    disabled in SPL, driver code should be adjusted accordingly to serve
    this purpose.
    Built and tested on AM335x device (BeagleboneBlack), compile tested
    for all other AM33xx based boards.

    Signed-off-by: Suniel Mahesh

    Suniel Mahesh
     

05 May, 2019

1 commit


03 May, 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
     

12 Apr, 2019

3 commits


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
     

23 Mar, 2019

1 commit


01 Feb, 2019

2 commits


18 Jan, 2019

1 commit


08 Jan, 2019

1 commit


27 Nov, 2018

1 commit


14 Nov, 2018

1 commit


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

17 Apr, 2018

2 commits

  • Rsync all defconfig files using moveconfig.py

    Signed-off-by: Tom Rini

    Tom Rini
     
  • We enabled CONFIG_ISO_PARTITION by default for distro boot, so that U-Boot
    could load distro images that usually get shipped as iso images. These images
    usually come with a board agnostic boot environment.

    However, there is very little point in having ISO support enabled (for anyone
    really) in SPL, as the whole idea of SPL is to load U-Boot proper which again
    is board specific. So the fact that we enable ISO support in U-Boot proper does
    not mean at all that we want ISO support in U-Boot SPL.

    Hence, let's remove the Kconfig dependency. Along the way, let's also clean up
    all those default configs that disabled SPL ISO support.

    Signed-off-by: Alexander Graf

    Alexander Graf
     

09 Apr, 2018

2 commits


08 Apr, 2018

1 commit


23 Mar, 2018

1 commit


15 Feb, 2018

3 commits