13 Dec, 2018

2 commits

  • The function part_init() will only be built when we have both
    CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to
    this function with both of these tests now.

    Cc: Simon Glass
    Cc: Philipp Tomsich
    Cc: Michal Simek
    Cc: York Sun
    Cc: Prabhakar Kushwaha
    Cc: Mingkai Hu
    Cc: Stefan Roese
    Cc: Marek Behún
    Cc: Vanessa Maegima
    Cc: Eugen Hristev
    Cc: Adam Ford
    Cc: Jagan Teki
    Cc: Tom Warren
    Cc: Stephen Warren
    Cc: Vitaly Andrianov
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Glass

    Tom Rini
     
  • Currently on qemu-arm platforms environment is kept in RAM. Instead
    use pflash device 1 to provide persistent environment support across
    device reset.

    Also (optionally) provide support for persistent environment across
    qemu machine OFF/ON using following instructions:

    - Create envstore.img using qemu-img:
    qemu-img create -f raw envstore.img 64M
    - Add a pflash drive parameter to the command line:
    -drive if=pflash,format=raw,index=1,file=envstore.img

    Signed-off-by: Sumit Garg

    Sumit Garg
     

10 Dec, 2018

4 commits

  • Improvements:
    - init DRAM for RK322x in SPL
    - add FAN53555 PMIC/regulator driver
    - update MicroCrystal RV3029 driver to Kconfig and sync from Linux
    - add bootcount uclass and first DM-driver for bootcount

    Tom Rini
     
  • This adds a driver for the FAN53555 family of regulators and wraps it
    in a PMIC implementation.

    While these devices support a 'normal' and 'suspend' mode (controlled
    via an external pin) to switch between two programmable voltages, this
    incarnation of the driver assumes that the device is always operating
    in 'normal' mode.

    Only setting/reading the programmed voltage is supported at this time
    and the following device functionality remains unsupported:
    - switching the selected voltage (via a GPIO)
    - disabling the voltage output via software-control
    This matches the functionality of the Linux driver.

    Tested on a RK3399-Q7 (with 'option 5' devices): setting voltages from
    the U-Boot shell and verifying output voltages on the board.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • The original bootcount methods do not provide an interface to DM and
    rely on a static configuration for I2C devices (e.g. bus, chip-addr,
    etc. are configured through defines statically). On a modern system
    that exposes multiple devices in a DTS-configurable way, this is less
    than optimal and a interface to DM-based devices will be desirable.

    This adds a simple driver that is DM-aware and configurable via DTS.
    If ambiguous (i.e. multiple bootcount-devices are present) the
    /chosen/u-boot,bootcount-device property can be used to select one
    bootcount device.

    Initially, this provides support for the following DM devices:
    * RTC devices

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • In some cases it may be useful to be able to change the fdt we have been
    using and use another one instead. For example, the TI platforms uses an
    EEPROM to store board information and, based on the type of board,
    different dtbs are used by the SPL. When DM_I2C is used, a first dtb must
    be used before the I2C is initialized and only then the final dtb can be
    selected.
    To speed up the process and reduce memory usage, introduce a new function
    fdtdec_setup_best_match() that re-use the DTBs loaded in memory by
    fdtdec_setup() to select the best match.

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Heiko Schocher

    Jean-Jacques Hiblot
     

06 Dec, 2018

1 commit


04 Dec, 2018

5 commits

  • The biggest part of migration to using CONFIG_BLK is that we need to
    have the various subsystems migrated first, so reword the plan here to
    reference the new deadlines.

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

    Tom Rini
     
  • As the core of the subsystem has been converted along with some of the
    drivers, formalize a deadline for migration.

    Cc: Akshay Bhat
    Cc: Andreas Geisreiter
    Cc: Bin Meng
    Cc: Christian Gmeiner
    Cc: Fabio Estevam
    Cc: Jason Liu
    Cc: Ken Lin
    Cc: Ludwig Zenz
    Cc: Marek Vasut
    Cc: Max Krummenacher
    Cc: Nikita Kiryanov
    Cc: Otavio Salvador
    Cc: Peng Fan
    Reviewed-by: Simon Glass
    Cc: Soeren Moch
    Cc: Stefan Roese
    Cc: Stefano Babic
    Cc: Tim Harvey
    Cc: Troy Kisky
    Cc: Tuomas Tynkkynen
    Cc: York Sun
    Signed-off-by: Tom Rini

    Tom Rini
     
  • As much of the USB system has been migrated to DM now, formalize a
    deadline for migration.

    Reviewed-by: Marek Vasut
    Reviewed-by: Simon Glass
    Signed-off-by: Tom Rini

    Tom Rini
     
  • Given that at this point the MMC subsystem itself has been migrated
    along with a number of subsystem drivers, formalize a deadline for
    migration.

    Reviewed-by: Simon Glass
    Cc: Jaehoon Chung
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Goldschmidt
    Reviewed-by: Philipp Tomsich

    Tom Rini
     
  • Patch queue for efi - 2018-12-03

    This release is fully packed with lots of glorious improvements in UEFI
    land again!

    - Make PE images more standards compliant
    - Improve sandbox support
    - Improve correctness
    - Fix RISC-V execution on virt model
    - Honor board defined top of ram (fixes a few boards)
    - Imply DM USB access when distro boot is available
    - Code cleanups

    Tom Rini
     

03 Dec, 2018

2 commits


30 Nov, 2018

1 commit


29 Nov, 2018

2 commits


27 Nov, 2018

2 commits


26 Nov, 2018

3 commits


17 Nov, 2018

3 commits


15 Nov, 2018

2 commits


06 Nov, 2018

1 commit

  • This patch adds ethernet support for the MIPS based Mediatek MT76xx SoCs
    (e.g. MT7628 and MT7688), including a minimum setup of the integrated
    switch. This driver is loosly based on the driver version included in
    this MediaTek github repository:

    https://github.com/MediaTek-Labs/linkit-smart-uboot.git

    Tested on the MT7688 LinkIt smart-gateway and on the
    Gardena-smart-gateway.

    Signed-off-by: Stefan Roese
    Reviewed-by: Daniel Schwierzeck
    Cc: Joe Hershberger
    Cc: Frank Wunderlich
    Cc: Weijie Gao
    Acked-by: Joe Hershberger

    Stefan Roese
     

25 Oct, 2018

1 commit


22 Oct, 2018

9 commits


21 Oct, 2018

1 commit


12 Oct, 2018

1 commit