1. 20 1月, 2018 3 次提交
  2. 19 1月, 2018 1 次提交
  3. 12 1月, 2018 1 次提交
  4. 01 8月, 2017 1 次提交
    • S
      dm: mmc: Allow disabling driver model in SPL · c4d660d4
      Simon Glass 提交于
      At present if U-Boot proper uses driver model for MMC, then SPL has to
      also. While this is desirable, it places a significant barrier to moving
      to driver model in some cases. For example, with a space-constrained SPL
      it may be necessary to enable CONFIG_SPL_OF_PLATDATA which involves
      adjusting some drivers.
      
      Add new SPL versions of the options for DM_MMC, DM_MMC_OPS and BLK. By
      default these follow their non-SPL versions, but this can be changed by
      boards which need it.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      c4d660d4
  5. 01 6月, 2017 1 次提交
    • S
      dm: Rename dev_addr..() functions · a821c4af
      Simon Glass 提交于
      These support the flat device tree. We want to use the dev_read_..()
      prefix for functions that support both flat tree and live tree. So rename
      the existing functions to avoid confusion.
      
      In the end we will have:
      
         1. dev_read_addr...()    - works on devices, supports flat/live tree
         2. devfdt_get_addr...()  - current functions, flat tree only
         3. of_get_address() etc. - new functions, live tree only
      
      All drivers will be written to use 1. That function will in turn call
      either 2 or 3 depending on whether the flat or live tree is in use.
      
      Note this involves changing some dead code - the imx_lpi2c.c file.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a821c4af
  6. 15 5月, 2017 1 次提交
  7. 12 5月, 2017 2 次提交
  8. 10 5月, 2017 1 次提交
  9. 30 3月, 2017 4 次提交
  10. 10 2月, 2017 1 次提交
    • T
      omap_hsmmc.c: Fix build warning on non-omap3 · 2a48b3a2
      Tom Rini 提交于
      It was incorrect to always include "asm/arch-omap3/mux.h" constantly.
      This introduced warnings on non-omap3 where certain values will conflict
      between the various families.  Conditionally guard the inclusion in
      order to correct the problem.
      
      Fixes: 6aca17c9 ("drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx")
      Signed-off-by: NTom Rini <trini@konsulko.com>
      2a48b3a2
  11. 09 2月, 2017 1 次提交
  12. 08 2月, 2017 1 次提交
    • S
      dm: core: Replace of_offset with accessor · e160f7d4
      Simon Glass 提交于
      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: NSimon Glass <sjg@chromium.org>
      e160f7d4
  13. 11 1月, 2017 1 次提交
  14. 05 12月, 2016 1 次提交
  15. 04 12月, 2016 1 次提交
  16. 16 8月, 2016 1 次提交
    • S
      drivers: mmc: omap_hsmmc: fix build breakage · 4de2de51
      Sekhar Nori 提交于
      structure member 'cd_inverted' of omap_hsmmc_data
      is available only when OMAP_HSMMC_USE_GPIO is
      defined.
      
      When CONFIG_DM_MMC is defined, but not
      CONFIG_OMAP_GPIO, this will cause build breakage
      in omap_hsmmc driver of the sort:
      
        CC      drivers/mmc/omap_hsmmc.o
      ../drivers/mmc/omap_hsmmc.c: In function 'omap_hsmmc_ofdata_to_platdata':
      ../drivers/mmc/omap_hsmmc.c:1763:6: error: 'struct omap_hsmmc_data' has no member named 'cd_inverted'
        priv->cd_inverted = fdtdec_get_bool(fdt, node, "cd-inverted");
            ^
      
      Fix this by accessing cd_inverted only when
      OMAP_HSMMC_USE_GPIO is defined.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Acked-by: NMugunthan V N <mugunthanvnm@ti.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      4de2de51
  17. 05 8月, 2016 1 次提交
  18. 10 6月, 2016 1 次提交
  19. 17 5月, 2016 1 次提交
  20. 19 4月, 2016 2 次提交
  21. 16 3月, 2016 2 次提交
  22. 15 3月, 2016 1 次提交
  23. 23 10月, 2015 2 次提交
  24. 13 8月, 2015 2 次提交
  25. 05 5月, 2015 1 次提交
  26. 30 1月, 2015 1 次提交
  27. 05 12月, 2014 3 次提交
  28. 07 11月, 2014 1 次提交
    • I
      omap: hsmmc: assume cd gpio is active low · 0b03a931
      Igor Grinberg 提交于
      Switch the default CD GPIO polarity to active low.
      
      The current hsmmc driver assumption that the CD GPIO is active high, but
      in the real hardware, usually the opposite holds.
      The usual SD card socket has a mechanical switch which is grounded as
      soon as a card is inserted.
      Of course there might be some board logic which inverts the signal, but
      as far as current users are concerned, there is no such logic.
      
      Current U-Boot users either not using the CD functionality, or have a
      different way (e.g. external to SoC GPIO controller) for checking the
      card presence.
      
      This patch also brings the polarity assumption in line with the Linux
      kernel and adds appropriate comments.
      
      This patch also might spare issues once the TWL GPIO driver will be
      converted to the DM.
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
      Reviewed-by: NTom Rini <trini@ti.com>
      0b03a931