1. 15 12月, 2019 1 次提交
    • S
      dm: gpio: Allow control of GPIO uclass in SPL · bcee8d67
      Simon Glass 提交于
      At present if CONFIG_SPL_GPIO_SUPPORT is enabled then the GPIO uclass
      is included in SPL/TPL without any control for boards. Some boards may
      want to disable this to reduce code size where GPIOs are not needed in
      SPL or TPL.
      
      Add a new Kconfig option to permit this. Default it to 'y' so that
      existing boards work correctly.
      
      Change existing uses of CONFIG_DM_GPIO to CONFIG_IS_ENABLED(DM_GPIO) to
      preserve the current behaviour. Also update the 74x164 GPIO driver since
      it cannot build with SPL.
      
      This allows us to remove the hacks in config_uncmd_spl.h and
      Makefile.uncmd_spl (eventually those files should be removed).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      bcee8d67
  2. 03 12月, 2019 1 次提交
  3. 05 9月, 2019 1 次提交
  4. 15 7月, 2019 3 次提交
  5. 12 4月, 2019 1 次提交
  6. 10 2月, 2019 1 次提交
  7. 09 2月, 2019 1 次提交
    • F
      mmc: omap_hsmmc: Workaround errata regarding SDR104/HS200 tuning failures (i929) · 351a4aa0
      Faiz Abbas 提交于
      Errata i929 in certain OMAP5/DRA7XX/AM57XX silicon revisions
      (SPRZ426D - November 2014 - Revised February 2018 [1]) mentions
      unexpected tuning pattern errors. A small failure band may be present
      in the tuning range which may be missed by the current algorithm.
      Furthermore, the failure bands vary with temperature leading to
      different optimum tuning values for different temperatures.
      
      As suggested in the related Application Report (SPRACA9B - October 2017
      - Revised July 2018 [2]), tuning should be done in two stages.
      In stage 1, assign the optimum ratio in the maximum pass window for the
      current temperature. In stage 2, if the chosen value is close to the
      small failure band, move away from it in the appropriate direction.
      
      References:
      [1] http://www.ti.com/lit/pdf/sprz426
      [2] http://www.ti.com/lit/pdf/SPRACA9Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
      351a4aa0
  8. 15 11月, 2018 1 次提交
    • B
      mmc: omap: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check · 223b10ca
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      223b10ca
  9. 29 9月, 2018 1 次提交
  10. 26 9月, 2018 1 次提交
  11. 12 9月, 2018 1 次提交
  12. 26 2月, 2018 4 次提交
  13. 19 2月, 2018 17 次提交
  14. 20 1月, 2018 3 次提交
  15. 19 1月, 2018 1 次提交
  16. 12 1月, 2018 1 次提交
  17. 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