[PATCH v1 00/16] arm: xea: Update i.MX28 XEA board to use DM_SERIAL

Lukasz Majewski lukma at denx.de
Fri May 19 12:43:42 CEST 2023


This patch series fixes i.MX28 based XEA board to utilize DM_SERIAL

Changes:
- Patches 1-3 - fix DTS (after Linux update) to debrick XEA
- Patches 4-8 - prepare XEA's DTS to support DM_SERIAL
- Patches 9-11 - fixes serial_pl01x.c driver (as this driver is
		 used by XEA, I would prefer to have this in a single
		 patchset - otherwise board may be bricked
- Patches 12-14 - XEA and imx28 generic code fixes to support
		  DM_SERIAL with OF_PLATDATA
- Patches 15-16 - config modification to support DM_SERIAL

CI:
https://dev.azure.com/lukma633/U-Boot/_build/results?buildId=44&view=results

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



Lukasz Majewski (16):
  dts: xea: Delete not used in u-boot DTS nodes
  dts: xea: Provide missing FEC required properties (mac0 and
    reg_fec_3v3)
  defconfig: xea: Change default spi-nor memory bus to 2
  spl: xea: Provide stub DM driver for imx28 clocks
  dts: xea: Enable debug UART support in XEA's SPL (DM_SERIAL)
  dts: xea: Add u-boot specific 'type' property to duart
  dts: xea: Remove clocks property from debug UART on XEA
  dts: xea: Disable 'clks' node for xea (imx287)
  serial: pl01x: Change OF_CONTROL to OF_REAL
  serial: pl01x: Prepare the driver to support SPL_OF_PLATDATA
  serial: pl01x: Modify pending callback to test if transmit FIFO is
    empty
  arm: mxs: Prevent serial console init when in very early SPL boot code
  arm: xea: Call spl_early_init() before DM serial console is enabled in
    SPL
  arm: Kconfig: Switch XEA (imx287 based) board to use
    CONFIG_PL01X_SERIAL
  config: xea: Enable DM_SERIAL for the XEA (imx287 based) board
  config: xea: Enable DM_SERIAL for the XEA - single binary (SB) u-boot

 arch/arm/Kconfig                        |  2 +-
 arch/arm/cpu/arm926ejs/mxs/spl_boot.c   |  6 ++--
 arch/arm/dts/imx28-xea-u-boot.dtsi      | 45 +++++++++++++++++++++++++
 arch/arm/mach-imx/mxs/Kconfig           |  1 +
 board/liebherr/xea/xea.c                | 20 ++++++++++-
 configs/imx28_xea_defconfig             |  5 +--
 configs/imx28_xea_sb_defconfig          |  2 ++
 drivers/serial/serial_pl01x.c           | 16 +++++++--
 include/dm/platform_data/serial_pl01x.h |  4 +++
 9 files changed, 93 insertions(+), 8 deletions(-)

-- 
2.30.2



More information about the U-Boot mailing list