1. 19 2月, 2018 14 次提交
  2. 20 1月, 2018 3 次提交
  3. 19 1月, 2018 1 次提交
  4. 12 1月, 2018 1 次提交
  5. 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
  6. 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
  7. 15 5月, 2017 1 次提交
  8. 12 5月, 2017 2 次提交
  9. 10 5月, 2017 1 次提交
  10. 30 3月, 2017 4 次提交
  11. 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
  12. 09 2月, 2017 1 次提交
  13. 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
  14. 11 1月, 2017 1 次提交
  15. 05 12月, 2016 1 次提交
  16. 04 12月, 2016 1 次提交
  17. 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
  18. 05 8月, 2016 1 次提交
  19. 10 6月, 2016 1 次提交
  20. 17 5月, 2016 1 次提交
  21. 19 4月, 2016 1 次提交