[U-Boot] [PATCH v1 00/11] DM: display5: Convert display5 board to DM/DTS (including 'factory' setup)

Lukasz Majewski lukma at denx.de
Sun Jun 9 20:54:36 UTC 2019

This patch series converts display5 to use DM/DTS.
The SPL conversion to DM/DTS has been omited.

It has been divided to following parts:
- First 2 patches are cosmetic ones and clean the U-Boot code base
- Next 3 patches fix display5 to make it bootable again
- Next 2 patches port DTS description from Linux kernel
- Next 2 patches convert the 'display5_defconfig' and
  'display5_factory_defconfig' to DM/DTS. The conversion has been
  done at once to avoid problems with unbuildable state of the board.
- Last 2 patches move the code which was common before DM/DTS conversion
  to SPL.

This patch depends on:
"watchdog: Split WDT from SPL_WDT" (v2)
"watchdog: imx: Add DM support"  (v2)

"usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP"

"IMX: serial: dm: Set DM_FLAG_PRE_RELOC in the IMX uart driver"

(Only errors on RockCHip due to exceeding size limit).

Applied on top of u-boot/master branch
SHA1: 6d277fb0ed145f82dd50cc6e99d2fa553a588c3b

Lukasz Majewski (11):
  cosmetic: display5: Remove not needed comments
  cosmetic: Update comment in cmd/eeprom.c
  ARM: display5: Fix CS check after moving some SPI related CONFIGs to
  gpio: Add missing parenthesis to the GPIO_TO_PORT define
  ARM: display5: Increase the pre-relocation malloc pool size to 4KiB
  DTS: imx: Add display5 board (imx6q based) device tree description
  DTS: Add imx6q-display5-u-boot.dtsi file with u-boot specific
  ARM: display5: Remove U_BOOT_DEVICE definition of serial_mxc
  DM: display5: Convert display5 board to use DM/DTS
  ARM: display5: Remove UART initialization code after DM/DTS conversion
  ARM: display5: Remove common.c file (after DM/DTS U-Boot proper

 arch/arm/dts/imx6q-display5-u-boot.dtsi |  49 +++++
 arch/arm/dts/imx6q-display5.dts         | 352 ++++++++++++++++++++++++++++++++
 arch/arm/mach-imx/mx6/Kconfig           |   5 +
 board/liebherr/display5/Makefile        |   4 +-
 board/liebherr/display5/common.c        | 120 -----------
 board/liebherr/display5/common.h        |   8 -
 board/liebherr/display5/display5.c      | 236 +++------------------
 board/liebherr/display5/spl.c           |  74 +++++++
 cmd/eeprom.c                            |   2 +-
 configs/display5_defconfig              |  32 +++
 configs/display5_factory_defconfig      |  43 +++-
 drivers/gpio/mxc_gpio.c                 |   2 +-
 include/configs/display5.h              |  34 +--
 13 files changed, 592 insertions(+), 369 deletions(-)
 create mode 100644 arch/arm/dts/imx6q-display5-u-boot.dtsi
 delete mode 100644 board/liebherr/display5/common.c


More information about the U-Boot mailing list