Skip to content
Snippets Groups Projects
  1. Mar 30, 2021
  2. Mar 29, 2021
  3. Mar 28, 2021
  4. Mar 27, 2021
    • Tom Rini's avatar
      Merge branch '2021-03-27-master-imports' · 31637e0b
      Tom Rini authored
      - Rework the deprecation warnings to be consistently phrased.
      - Add in a warning for DM_I2C, for a year from next release.
      - Fix Azure builds of Windows host tools.
      31637e0b
    • Tom Rini's avatar
      Azure: Use "pacman -Sy" to install the toolchain · 94d66d8b
      Tom Rini authored
      
      We now see an error such as:
      warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
      error: failed to prepare transaction (could not find database)
      
      So use -Sy as suggested.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      94d66d8b
    • Simon Glass's avatar
      dm: i2c: Add a migration method for I2C · 65c8cdc7
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      This probably should have been done a while back since it is a core
      system. Add a migration deadline of later this year, to catch the
      stragglers.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      65c8cdc7
    • Simon Glass's avatar
      Makefile: Drop the old SPI flash migration message · 782dac5b
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      This message does not seem to make sense. It may be out of date. Drop it.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      782dac5b
    • Simon Glass's avatar
      Makefile: Use common code for DM_ETH deprecation warning · 8cd1874f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_ETH check to use the 'deprecated' function.
      
      Tested with snow
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_ETH (Driver Model
      for Ethernet drivers). Please update the board to use
      CONFIG_DM_ETH before the v2020.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_ETH (Driver Model
      for Ethernet drivers). Please update the board to use
      CONFIG_DM_ETH before the v2020.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      8cd1874f
    • Simon Glass's avatar
      Makefile: Use common code for WDT deprecation warning · 78b4a564
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_WDT check to use the 'deprecated' function.
      
      Tested with kmcent2
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_WDT (DM watchdog support).
      Please update the board to use CONFIG_WDT before the
      v2019.10 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_WDT (Driver Model
      for DM watchdog). Please update the board to use
      CONFIG_WDT before the v2019.10 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      78b4a564
    • Simon Glass's avatar
      Makefile: Use common code for SPI_FLASH deprecation warning · ec384f9f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_SPI_FLASH check to use the 'deprecated' function.
      
      Tested with vinco
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_SPI_FLASH. Please update
      the board to use CONFIG_SPI_FLASH before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_SPI_FLASH (Driver Model
      for SPI flash). Please update the board to use
      CONFIG_DM_SPI_FLASH before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      ec384f9f
    • Simon Glass's avatar
      Makefile: Use common code for DM_VIDEO deprecation warning · d13aee07
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_VIDEO check to use the 'deprecated' function.
      
      Tested with pxm2
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_VIDEO Please update
      the board to use CONFIG_DM_VIDEO before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_VIDEO (Driver Model
      for video). Please update the board to use
      CONFIG_DM_VIDEO before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ==================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      d13aee07
    • Simon Glass's avatar
      Makefile: Use common code for PCI deprecation warning · 39e526a8
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_PCI check to use the 'deprecated' function.
      
      Tested with MPC8349ITX
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_PCI Please update
      the board to use CONFIG_DM_PCI before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_PCI (Driver Model
      for PCI). Please update the board to use
      CONFIG_DM_PCI before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      39e526a8
    • Simon Glass's avatar
      Makefile: Use common code for LIBATA deprecation warning · 099288bf
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_LIBATA check to use the 'deprecated' function.
      
      Tested with MPC8349ITX
      
      Old message:
      
      ===================== WARNING ======================
      This board does use CONFIG_LIBATA but has CONFIG_AHCI not
      enabled. Please update the storage controller driver to use
      CONFIG_AHCI before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_AHCI (Driver Model
      for AHCI). Please update the board to use
      CONFIG_AHCI before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      099288bf
    • Simon Glass's avatar
      Makefile: Use common code for MVSATA_IDE deprecation warning · a8834352
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_MVSATA_IDE check to use the 'deprecated' function.
      
      Tested with nas220
      
      Old message:
      
      ===================== WARNING ======================
      This board does use CONFIG_MVSATA_IDE which is not
      ported to driver-model (DM) yet. Please update the storage
      controller driver to use CONFIG_AHCI before the v2019.07
      release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_AHCI (Driver Model
      for AHCI instead of CONFIG_MVSATA_IDE). Please update the board to use
      CONFIG_AHCI before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      a8834352
    • Simon Glass's avatar
      Makefile: Use common code for USB deprecation warning · 9e035b8e
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the USB check to use the 'deprecated' function.
      
      Tested with xpress
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_USB. Please update
      the board to use CONFIG_DM_USB before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_USB (Driver Model
      for  USB). Please update the board to use
      CONFIG_DM_USB before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      9e035b8e
    • Simon Glass's avatar
      Makefile: Use common code for MMC deprecation warning · 77dc55ea
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the MMC check to use the 'deprecated' function.
      
      Tested with zc5202
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_MMC. Please update
      the board to use CONFIG_DM_MMC before the v2019.04 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_MMC (Driver Model
      for MMC). Please update the board to use
      CONFIG_DM_MMC before the v2019.04 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      77dc55ea
    • Simon Glass's avatar
      Makefile: Add common code to report deprecation · 13732528
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Add a function which can be called to report a migration problem. This
      will make it easier to add new migration checks, since the logic and
      strings are not spread out over 8 lines of code.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      13732528
    • Simon Glass's avatar
      Makefile: Move non-DM migration messages to the top · 06467e46
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      At present the driver model migration messages are mixed with the others.
      Collect them together before starting to refactor them.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      06467e46
  5. Mar 24, 2021
  6. Mar 23, 2021
  7. Mar 20, 2021
  8. Mar 19, 2021
Loading