Skip to content

board: sl28: enable DM_SERIAL and lpuart support

Michael Walle u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5armv8: fsl-layerscape: spl: add debug UART supportarch/arm/cpu/armv8/fsl-layerscape/spl.c+3 -00 replies
2/5armv8: fsl-layerscape: spl: call spl_early_init()arch/arm/cpu/armv8/fsl-layerscape/spl.c+8 -00 replies
3/5board: sl28: move DM_* configs to Kconfigarch/arm/Kconfig configs/kontron_sl28_defconfig+19 -170 replies
4/5board: sl28: enable DM_SERIALarch/arm/Kconfig include/configs/kontron_sl28.h+1 -20 replies
5/5board: sl28: add config to enable console output on SER0arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi board/kontron/sl28/Kconfig board/kontron/sl28/Makefile +1 more+34 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] board: sl28: enable DM_SERIAL and lpuart support

Enable DM_SERIAL for this board. For this to work, we first need to make DM_SERIAL work on LS1028A SoCs, which just means we have to properly call spl_early_init(). After this, clean up the board config by moving the CONFIG_DM_* macros to Kconfig. Now we can switch to DM_SERIAL. As the last patch, provide a configuration option to switch the output to the first serial line on this board, which is not possible because we can enable LPUART support (which needs DM_SERIAL).

Please note, the first patch is not really required but helps a lot in debugging early startup on Layerscape SoCs.

Michael Walle (5):
armv8: fsl-layerscape: spl: add debug UART support
armv8: fsl-layerscape: spl: call spl_early_init()
board: sl28: move DM_* configs to Kconfig
board: sl28: enable DM_SERIAL
board: sl28: add config to enable console output on SER0

 arch/arm/Kconfig                              | 20 +++++++++++++++++++
 arch/arm/cpu/armv8/fsl-layerscape/spl.c       | 11 ++++++++++
 .../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi  | 12 +++++++++++
 board/kontron/sl28/Kconfig                    | 10 ++++++++++
 board/kontron/sl28/Makefile                   |  2 +-
 board/kontron/sl28/common.c                   | 11 ++++++++++
 configs/kontron_sl28_defconfig                | 17 ----------------
 include/configs/kontron_sl28.h                |  2 --
 8 files changed, 65 insertions(+), 20 deletions(-)
 create mode 100644 board/kontron/sl28/common.c
Signature · 1 line
2.20.1