Skip to content
Snippets Groups Projects
  1. May 27, 2014
    • Heiko Schocher's avatar
      dm: rename device struct to udevice · 54c5d08a
      Heiko Schocher authored
      
      using UBI and DM together leads in compiler error, as
      both define a "struct device", so rename "struct device"
      in include/dm/device.h to "struct udevice", as we use
      linux code (MTD/UBI/UBIFS some USB code,...) and cannot
      change the linux "struct device"
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Marek Vasut <marex@denx.de>
      54c5d08a
  2. Apr 18, 2014
    • Ian Campbell's avatar
      blackfin: make name_to_gpio be a weak symbol · fd11bea2
      Ian Campbell authored
      
      This required moving it into a C file from the header.
      
      The only user of a non-default name_to_gpio is blackfin, therefore build tested
      with the blackfin bct-brettl2 build, which is one I picked at random. Also
      tested with a build for the ARM tec board which uses the default/fallback
      implementation. Inspection with objdump shows that both have done the right
      thing.
      
      This change was requested by Marek during review of the sunxi patch series.
      
      Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Sonic Zhang <sonic.adi@gmail.com>
      fd11bea2
  3. Mar 04, 2014
    • Simon Glass's avatar
      dm: Enable gpio command to support driver model · 95a260a9
      Simon Glass authored
      
      Now that named GPIO banks are supported, along with a way of obtaining
      the status of a GPIO (input or output), we can provide an enhanced
      GPIO command for driver model. Where the driver provides its own operation
      for obtaining the GPIO state, this is used, otherwise a generic version
      is sufficient.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      95a260a9
  4. Mar 06, 2012
  5. Apr 13, 2011
Loading