[U-Boot] [PATCH v1 00/29] convert aristainetos board to DM

Heiko Schocher hs at denx.de
Sun Dec 1 10:23:03 UTC 2019


This series converts the aristainetos to DM / DTS support and get
rid of the compile warnings:
===================== WARNING ======================
This board does not use CONFIG_DM. CONFIG_DM will be
compulsory starting with the v2020.01 release.
Failure to update may result in board removal.
See doc/driver-model/migration.rst for more info.
====================================================
===================== 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.txt for more info.
====================================================
===================== 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.txt for more info.
====================================================
===================== 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.txt for more info.
====================================================
===================== 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.txt for more info.
====================================================
===================== 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.txt for more info.
====================================================

The not used aristainetos board is removed. The aristianetos
board versions 2b is removed, for easier DM convertion, and
at the end of this series again added.

Also we add the board versions 2b_csl and 2c in this series.

The series is based on mainline commit
4b19b89ca4: ("Merge tag 'rpi-next-2020.01' of https://github.com/mbgg/u-boot")

the following patches are needed for working correct on
board, but without them build is also clean.

(gpio seach for gpio label)
http://patchwork.ozlabs.org/patch/1186638/
bdinfo:
http://patchwork.ozlabs.org/patch/1192363/
support Env in SPI NOR before relocation.
http://patchwork.ozlabs.org/patch/1195435/
http://patchwork.ozlabs.org/patch/1195436/

travis and azure uild:
  https://travis-ci.org/hsdenx/u-boot-test/builds/619145300
  https://dev.azure.com/hs0298/hs/_build/results?buildId=7

Heiko Schocher (29):
  imx6: remove aristainetos board
  video: lg4573: convert to DM
  imx6: aristainetos: move defines to Kconfig
  imx6: aristainetos: remove 2b version
  imx6: aristainetos: disable gigabit support
  imx6: aristainetos: add device tree from linux
  imx6: aristainetos: add thumb build
  imx6: aristainetos: remove aristainetos-v2.c
  imx6: aristainetos: prepare dts for other board versions
  imx6: aristainetos: add DM_SERIAL support
  imx6: aristainetos: convert to DM_MMC
  imx6: aristainetos: convert gpio pins to DM and DTS
  imx6: aristainetos: convert to DM_USB
  imx6: aristainetos: convert CONFIG_DM_SPI
  imx6: aristainetos: enable DM_ETH
  imx6: aristainetos: add DM_VIDEO support
  imx6: aristainetos: add DM_I2C support
  imx6: aristainetos: convert to DM_PWM/DM_BACKLIGHT
  imx6: aristainetos: get rid of CONFIG_BOARDNAME
  imx6: aristainetos: add i2c eeprom support
  imx6: aristainetos: add AUTOBOOT_KEYED
  imx6: aristainetos: add version variable
  imx6: aristainetos: cleanup bootmode settings
  imx6: aristainetos: WDT DM conversion enable WDT reset
  imx6: aristainetos: cleanup default Environment
  imx6: aristainetos: enable HAB boot
  imx6: aristainetos: readd aristainetos 2b board
  imx6: aristainetos: add aristainetos 2b csl
  imx6: aristainetos: add support for rev C board

 arch/arm/dts/Makefile                         |   8 +
 .../dts/imx6dl-aristainetos2_4-u-boot.dtsi    |  13 +
 arch/arm/dts/imx6dl-aristainetos2_4.dts       |  51 ++
 arch/arm/dts/imx6dl-aristainetos2_4.dtsi      |  84 +++
 .../dts/imx6dl-aristainetos2_7-u-boot.dtsi    |  19 +
 arch/arm/dts/imx6dl-aristainetos2_7.dts       |  16 +
 arch/arm/dts/imx6dl-aristainetos2_7.dtsi      |  58 ++
 .../dts/imx6dl-aristainetos2b_4-u-boot.dtsi   |  13 +
 arch/arm/dts/imx6dl-aristainetos2b_4.dts      |  50 ++
 .../dts/imx6dl-aristainetos2b_7-u-boot.dtsi   |  19 +
 arch/arm/dts/imx6dl-aristainetos2b_7.dts      |  16 +
 .../imx6dl-aristainetos2b_csl_4-u-boot.dtsi   |  13 +
 arch/arm/dts/imx6dl-aristainetos2b_csl_4.dts  |  50 ++
 .../imx6dl-aristainetos2b_csl_7-u-boot.dtsi   |  19 +
 arch/arm/dts/imx6dl-aristainetos2b_csl_7.dts  |  16 +
 .../dts/imx6dl-aristainetos2c_4-u-boot.dtsi   |  13 +
 arch/arm/dts/imx6dl-aristainetos2c_4.dts      |  50 ++
 .../dts/imx6dl-aristainetos2c_7-u-boot.dtsi   |  19 +
 arch/arm/dts/imx6dl-aristainetos2c_7.dts      |  16 +
 .../arm/dts/imx6qdl-aristainetos2-common.dtsi | 492 +++++++++++++
 .../arm/dts/imx6qdl-aristainetos2-u-boot.dtsi | 101 +++
 arch/arm/dts/imx6qdl-aristainetos2.dtsi       | 244 +++++++
 .../dts/imx6qdl-aristainetos2b-u-boot.dtsi    |  77 ++
 arch/arm/dts/imx6qdl-aristainetos2b.dtsi      | 266 +++++++
 .../imx6qdl-aristainetos2b_csl-u-boot.dtsi    |  77 ++
 arch/arm/dts/imx6qdl-aristainetos2b_csl.dtsi  | 248 +++++++
 .../dts/imx6qdl-aristainetos2c-u-boot.dtsi    |  77 ++
 arch/arm/dts/imx6qdl-aristainetos2c.dtsi      | 228 ++++++
 arch/arm/mach-imx/mx6/Kconfig                 |  39 +-
 board/aristainetos/Kconfig                    |  34 +-
 board/aristainetos/MAINTAINERS                |  31 +-
 board/aristainetos/aristainetos-v1.c          | 278 -------
 board/aristainetos/aristainetos-v2.c          | 686 ------------------
 board/aristainetos/aristainetos.c             | 592 +++++++++++----
 board/aristainetos/aristainetos.cfg           |  32 -
 board/aristainetos/aristainetos2.cfg          |   3 +
 board/aristainetos/clocks.cfg                 |  23 -
 board/aristainetos/common/Kconfig             |  35 +
 board/aristainetos/ddr-setup.cfg              |  60 --
 board/aristainetos/mt41j128M.cfg              |  69 --
 configs/aristainetos2_defconfig               |  64 +-
 configs/aristainetos2b_defconfig              |  66 +-
 configs/aristainetos2bcsl_defconfig           | 115 +++
 configs/aristainetos2c_defconfig              | 115 +++
 configs/aristainetos_defconfig                |  68 --
 drivers/video/lg4573.c                        | 175 ++++-
 include/configs/aristainetos-common.h         | 195 -----
 include/configs/aristainetos.h                |  43 --
 include/configs/aristainetos2.h               | 445 +++++++++++-
 include/configs/aristainetos2b.h              |  50 --
 scripts/config_whitelist.txt                  |   3 -
 51 files changed, 3840 insertions(+), 1734 deletions(-)
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2_4-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2_4.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2_4.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2_7-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2_7.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2_7.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_4-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_4.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_7-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_7.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_4-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_4.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_7-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_7.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_4-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_4.dts
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_7-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_7.dts
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2-common.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b_csl-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b_csl.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2c-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-aristainetos2c.dtsi
 delete mode 100644 board/aristainetos/aristainetos-v1.c
 delete mode 100644 board/aristainetos/aristainetos-v2.c
 delete mode 100644 board/aristainetos/aristainetos.cfg
 delete mode 100644 board/aristainetos/clocks.cfg
 create mode 100644 board/aristainetos/common/Kconfig
 delete mode 100644 board/aristainetos/ddr-setup.cfg
 delete mode 100644 board/aristainetos/mt41j128M.cfg
 create mode 100644 configs/aristainetos2bcsl_defconfig
 create mode 100644 configs/aristainetos2c_defconfig
 delete mode 100644 configs/aristainetos_defconfig
 delete mode 100644 include/configs/aristainetos-common.h
 delete mode 100644 include/configs/aristainetos.h
 delete mode 100644 include/configs/aristainetos2b.h

-- 
2.21.0



More information about the U-Boot mailing list