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)
https://patchwork.ozlabs.org/patch/1112591/
"watchdog: imx: Add DM support"  (v2)
https://patchwork.ozlabs.org/patch/11112592/

"usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP"
https://patchwork.ozlabs.org/patch/1110113/

"IMX: serial: dm: Set DM_FLAG_PRE_RELOC in the IMX uart driver"
https://patchwork.ozlabs.org/patch/1109923/

Travis-CI:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/543404916
(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
    Kconfig
  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
    (v5.1)
  DTS: Add imx6q-display5-u-boot.dtsi file with u-boot specific
    properties
  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
    (non-console)
  ARM: display5: Remove common.c file (after DM/DTS U-Boot proper
    conversion)

 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

-- 
2.11.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to