Skip to content
Snippets Groups Projects
  1. May 23, 2018
  2. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      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: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  3. Mar 16, 2018
  4. Sep 15, 2017
  5. Sep 04, 2017
  6. Jul 11, 2017
  7. Mar 29, 2017
    • mario.six@gdsys.cc's avatar
      dm: Add callback to modify the device tree · 0db4cd25
      mario.six@gdsys.cc authored
      
      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: default avatarMario Six <mario.six@gdsys.cc>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      0db4cd25
  8. Mar 23, 2017
    • mario.six@gdsys.cc's avatar
      dm: Add callback to modify the device tree · 2a792753
      mario.six@gdsys.cc authored
      
      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: default avatarMario Six <mario.six@gdsys.cc>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      2a792753
  9. Mar 16, 2017
  10. Feb 08, 2017
    • Simon Glass's avatar
      dm: core: Replace of_offset with accessor · e160f7d4
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>
      e160f7d4
  11. Dec 05, 2016
  12. Dec 04, 2016
  13. Jul 15, 2016
  14. May 27, 2016
  15. Apr 14, 2016
  16. Feb 24, 2016
  17. Feb 08, 2016
  18. Jan 27, 2016
  19. Jan 21, 2016
  20. Dec 19, 2015
  21. Dec 12, 2015
  22. Nov 20, 2015
  23. Oct 23, 2015
  24. Oct 22, 2015
    • Nishanth Menon's avatar
      drivers: Introduce a simplified remoteproc framework · ddf56bc7
      Nishanth Menon authored
      
      Many System on Chip(SoC) solutions are complex with multiple processors
      on the same die dedicated to either general purpose of specialized
      functions. Many examples do exist in today's SoCs from various vendors.
      Typical examples are micro controllers such as an ARM M3/M0 doing a
      offload of specific function such as event integration or power
      management or controlling camera etc.
      
      Traditionally, the responsibility of loading up such a processor with a
      firmware and communication has been with a High Level Operating
      System(HLOS) such as Linux. However, there exists classes of products
      where Linux would need to expect services from such a processor or the
      delay of Linux and operating system being able to load up such a
      firmware is unacceptable.
      
      To address these needs, we need some minimal capability to load such a
      system and ensure it is started prior to an Operating System(Linux or
      any other) is started up.
      
      NOTE: This is NOT meant to be a solve-all solution, instead, it tries to
      address certain class of SoCs and products that need such a solution.
      
      A very simple model is introduced here as part of the initial support
      that supports microcontrollers with internal memory (no MMU, no
      execution from external memory, or specific image format needs). This
      basic framework can then (hopefully) be extensible to other complex SoC
      processor support as need be.
      
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      ddf56bc7
  25. Aug 26, 2015
  26. Aug 05, 2015
  27. Jul 21, 2015
  28. May 15, 2015
  29. Apr 22, 2015
  30. Apr 18, 2015
  31. Apr 17, 2015
    • Simon Glass's avatar
      dm: pci: Add a uclass for PCI · ff3e077b
      Simon Glass authored
      
      Add a uclass for PCI controllers and a generic one for PCI devices. Adjust
      the 'pci' command and the existing PCI support to work with this new uclass.
      Keep most of the compatibility code in a separate file so that it can be
      removed one day.
      
      TODO: Add more header file comments to the new parts of pci.h
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      ff3e077b
  32. Feb 12, 2015
  33. Jan 30, 2015
Loading