migration.rst 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. Migration Schedule
  3. ==================
  4. U-Boot has been migrating to a new driver model since its introduction in
  5. 2014. This file describes the schedule for deprecation of pre-driver-model
  6. features.
  7. CONFIG_DM
  8. ---------
  9. * Status: In progress
  10. * Deadline: 2020.01
  11. Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
  12. This does not concern CONFIG_DM_SPL and CONFIG_DM_TPL. The conversion date for
  13. these configuration items still needs to be defined.
  14. CONFIG_DM_MMC
  15. -------------
  16. * Status: In progress
  17. * Deadline: 2019.04
  18. The subsystem itself has been converted and maintainers should submit patches
  19. switching over to using CONFIG_DM_MMC and other base driver model options in
  20. time for inclusion in the 2019.04 rerelease.
  21. CONFIG_DM_USB
  22. -------------
  23. * Status: In progress
  24. * Deadline: 2019.07
  25. The subsystem itself has been converted along with many of the host controller
  26. and maintainers should submit patches switching over to using CONFIG_DM_USB and
  27. other base driver model options in time for inclusion in the 2019.07 rerelease.
  28. CONFIG_SATA
  29. -----------
  30. * Status: In progress
  31. * Deadline: 2019.07
  32. The subsystem itself has been converted along with many of the host controller
  33. and maintainers should submit patches switching over to using CONFIG_AHCI and
  34. other base driver model options in time for inclusion in the 2019.07 rerelease.
  35. CONFIG_BLK
  36. ----------
  37. * Status: In progress
  38. * Deadline: 2019.07
  39. In concert with maintainers migrating their block device usage to the
  40. appropriate DM driver, CONFIG_BLK needs to be set as well. The final deadline
  41. here coincides with the final deadline for migration of the various block
  42. subsystems. At this point we will be able to audit and correct the logic in
  43. Kconfig around using CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE and make
  44. use of CONFIG_BLK / CONFIG_SPL_BLK as needed.
  45. CONFIG_DM_SPI / CONFIG_DM_SPI_FLASH
  46. -----------------------------------
  47. Board Maintainers should submit the patches for enabling DM_SPI and DM_SPI_FLASH
  48. to move the migration with in the deadline.
  49. Partially converted::
  50. drivers/spi/fsl_espi.c
  51. drivers/spi/mxc_spi.c
  52. drivers/spi/sh_qspi.c
  53. * Status: In progress
  54. * Deadline: 2019.07
  55. CONFIG_DM_PCI
  56. -------------
  57. Deadline: 2019.07
  58. The PCI subsystem has supported driver model since mid 2015. Maintainers should
  59. submit patches switching over to using CONFIG_DM_PCI and other base driver
  60. model options in time for inclusion in the 2019.07 release.
  61. CONFIG_DM_VIDEO
  62. ---------------
  63. Deadline: 2019.07
  64. The video subsystem has supported driver model since early 2016. Maintainers
  65. should submit patches switching over to using CONFIG_DM_VIDEO and other base
  66. driver model options in time for inclusion in the 2019.07 release.
  67. CONFIG_DM_ETH
  68. -------------
  69. Deadline: 2020.07
  70. The network subsystem has supported the driver model since early 2015.
  71. Maintainers should submit patches switching over to using CONFIG_DM_ETH and
  72. other base driver model options in time for inclusion in the 2020.07 release.