1. 20 Jul, 2015 1 commit
  2. 30 Jan, 2015 2 commits
    • Martin Dorwig's avatar
      Export redesign · 49cad547
      Martin Dorwig authored
      this is an atempt to make the export of functions typesafe.
      I replaced the jumptable void ** by a struct (jt_funcs) with function pointers.
      The EXPORT_FUNC macro now has 3 fixed parameters and one
      variadic parameter
      The first is the name of the exported function,
      the rest of the parameters are used to format a functionpointer
      in the jumptable,
      the EXPORT_FUNC macros are expanded three times,
      1. to declare the members of the struct
      2. to initialize the structmember pointers
      3. to call the functions in stubs.c
      Signed-off-by: default avatarMartin Dorwig <dorwig@tetronik.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      (resending to the list since my tweaks are not quite trivial)
    • Simon Glass's avatar
      dm: i2c: Rename driver model I2C functions to permit compatibility · f9a4c2da
      Simon Glass authored
      Add a dm_ prefix to driver model I2C functions so that we can keep the old
      ones around.
      This is a little unfortunate, but on reflection it is too difficult to
      change the API. We can undo this rename when most boards and drivers are
      converted to use driver model for I2C.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  3. 22 Oct, 2014 1 commit
    • Simon Glass's avatar
      dm: spi: Add a uclass for SPI · d7af6a48
      Simon Glass authored
      Add a uclass which provides access to SPI buses and includes operations
      required by SPI.
      For a time driver model will need to co-exist with the legacy SPI interface
      so some parts of the header file are changed depending on which is in use.
      The exports are adjusted also since some functions are not available with
      driver model.
      Boards must define CONFIG_DM_SPI to use driver model for SPI.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
      (Discussed some follow-up comments which will address in future add-ons)
  4. 07 Dec, 2011 1 commit
    • Simon Glass's avatar
      Fix SPI build errors in exports.c · 80729a54
      Simon Glass authored
      The spi.h include is no longer included in exports.h, so must be included
      This fixes these errors:
      In file included from exports.c:41:0:
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h: In function 'jumptable_init':
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:27:1: error: 'spi_init' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:27:1: note: each undeclared identifier is reported only once for each function it appears in
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:28:1: error: 'spi_setup_slave' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:29:1: error: 'spi_free_slave' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:30:1: error: 'spi_claim_bus' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:31:1: error: 'spi_release_bus' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:32:1: error: 'spi_xfer' undeclared (first use in this function)
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  5. 13 Apr, 2011 1 commit
  6. 19 Sep, 2010 1 commit
  7. 04 Jul, 2010 1 commit
  8. 02 Dec, 2009 1 commit
    • Mike Frysinger's avatar
      exports: rewrite jump table init · bf44f3f3
      Mike Frysinger authored
      The current jump table init fails to initialize a bunch of exported
      symbols (forceenv/do_reset/etc...).  Rather than fix just these few
      missing pieces, rewrite the code to utilize the existing list of
      exported symbols -- _exports.h.  Since every exported symbol has to
      be listed in this header, it makes sense to use it so that we only
      ever have one list that needs to be updated and things can't fall
      out of sync again.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
  9. 09 Aug, 2009 1 commit
  10. 05 Aug, 2007 1 commit
  11. 08 Jul, 2007 1 commit
  12. 03 Jul, 2007 1 commit
  13. 01 Sep, 2006 1 commit
  14. 31 Mar, 2006 1 commit
  15. 11 Sep, 2003 1 commit
  16. 24 Jul, 2003 1 commit