board: sl28: enable DM_SERIAL and lpuart support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | armv8: fsl-layerscape: spl: add debug UART supportarch/ | +3 | 0 replies | |
| 2/5 | armv8: fsl-layerscape: spl: call spl_early_init()arch/ | +8 | 0 replies | |
| 3/5 | board: sl28: move DM_* configs to Kconfigarch/ configs/ | +19 | 0 replies | |
| 4/5 | board: sl28: enable DM_SERIALarch/ include/ | +1 | 0 replies | |
| 5/5 | board: sl28: add config to enable console output on SER0arch/ board/ board/ +1 more | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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