10 Feb, 2019

1 commit


16 Jan, 2019

1 commit


09 Jan, 2019

2 commits


02 Jan, 2019

1 commit


13 Dec, 2018

1 commit

  • 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
     

06 Dec, 2018

1 commit


04 Dec, 2018

4 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
     

27 Nov, 2018

1 commit


15 Nov, 2018

1 commit


21 Oct, 2018

1 commit


09 Oct, 2018

2 commits


29 Sep, 2018

1 commit


26 Sep, 2018

1 commit

  • In the section about Device Trees add a paragraph at the end that
    clarifies how we decide of a tree is valid or not. We say that all
    bindings must either be in the specification (link provided) or in our
    device-tree-bindings directory. We say that most of these come from the
    Linux Kernel and as such some design decisions are made for us already,
    but that in most cases we wish to retain compatibility.

    Cc: Simon Glass
    Cc: Bin Meng
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Glass

    Tom Rini
     

08 Aug, 2018

1 commit


27 Jul, 2018

1 commit


24 May, 2018

2 commits


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
     

16 Mar, 2018

1 commit

  • Due to adding various new functionalities with SPI and SPI-FLASH
    subsystems which are rounding in Mailing list for year these long
    term supporting spi driver which never seen any update with
    driver-model conversion.

    So added migration plan for DM_SPI and DM_SPI_FLASH with
    deadline v2018.09

    Signed-off-by: Jagan Teki

    Jagan Teki
     

15 Sep, 2017

1 commit

  • Rather than naming the phandle struct according to the number of cells it
    uses (e.g. struct phandle_2_cell) name it according to the number of
    arguments it has (e.g. struct phandle_1_arg). This is a more intuitive
    naming.

    Signed-off-by: Simon Glass
    Tested-by: Kever Yang

    Simon Glass
     

04 Sep, 2017

2 commits

  • Add some documentation for the live device tree support in U-Boot. This
    was missing from the initial series.

    Signed-off-by: Simon Glass
    Suggested-by: Lukasz Majewski
    Reviewed-by: Łukasz Majewski

    Simon Glass
     
  • The CONFIG_BLK conversion involves quite invasive changes in the U-Boot
    code, with #ifdefs and different code paths. We should try to move over to
    this soon so we can drop the old code.

    Set a deadline of 9 months for this work, rounded up to the next release.

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

    Simon Glass
     

12 Jul, 2017

1 commit


23 Mar, 2017

1 commit

  • Certain boards come in different variations by way of utilizing daughter
    boards, for example. These boards might contain additional chips, which
    are added to the main board's busses, e.g. I2C.

    The device tree support for such boards would either, quite naturally,
    employ the overlay mechanism to add such chips to the tree, or would use
    one large default device tree, and delete the devices that are actually
    not present.

    Regardless of approach, even on the U-Boot level, a modification of the
    device tree is a prerequisite to have such modular families of boards
    supported properly.

    Therefore, we add an option to make the U-Boot device tree (the actual
    copy later used by the driver model) writeable, and add a callback
    method that allows boards to modify the device tree at an early stage,
    at which, hopefully, also the application of device tree overlays will
    be possible.

    Signed-off-by: Mario Six
    Reviewed-by: Simon Glass
    Signed-off-by: Stefan Roese

    mario.six@gdsys.cc
     

17 Mar, 2017

1 commit

  • Right now the u-boot,dm-pre-reloc flag will make each marked node
    always appear in both spl and tpl. But systems needing an additional
    tpl might have special constraints for each, like the spl needing to
    be very tiny.

    So introduce two additional flags to mark nodes for only spl or tpl
    environments and introduce a function dm_fdt_pre_reloc to automate
    the necessary checks in code instances checking for pre-relocation
    flags.

    The behaviour of the original flag stays untouched and still marks
    a node for both spl and tpl.

    Signed-off-by: Heiko Stuebner
    Reviewed-by: Simon Glass
    Tested-by: Kever Yang

    Heiko Stübner
     

08 Feb, 2017

1 commit

  • At present devices use a simple integer offset to record the device tree
    node associated with the device. In preparation for supporting a live
    device tree, which uses a node pointer instead, refactor existing code to
    access this field through an inline function.

    Signed-off-by: Simon Glass

    Simon Glass
     

05 Dec, 2016

3 commits


15 Jul, 2016

2 commits


27 May, 2016

1 commit

  • This will allow a driver's bind function to use the driver data. One
    example is the Tegra186 GPIO driver, which instantiates child devices
    for each of its GPIO ports, yet supports two different HW instances each
    with a different set of ports, and identified by the udevice_id .data
    field.

    Signed-off-by: Stephen Warren
    Acked-by: Simon Glass

    Stephen Warren
     

15 Apr, 2016

1 commit


25 Feb, 2016

1 commit


08 Feb, 2016

1 commit