[PATCH 0/4] arm: Tidy up debug UART init

Simon Glass sjg at chromium.org
Wed Nov 3 14:16:04 CET 2021


The debug UART init should be done early in boot by the architecture. At
present ARM leaves boards to fend for themselves, resulting in quite a bit
of inconsistency.

This series attempts a small clean-up, so that enabling the debug UART
should be just a matter of enabling the CONFIG options for most boards.


Simon Glass (4):
  arm: Fix some inconsistent debug-UART CONFIG options
  arm: Init the debug UART
  arm: qemu: Enable the debug UART
  rk3399: Don't enable the debug UART if there is no driver

 arch/arm/lib/crt0.S                    |  4 +++
 arch/arm/lib/crt0_64.S                 |  4 +++
 arch/arm/mach-rockchip/rk3399/rk3399.c | 34 ++++++++++++++------------
 configs/elgin-rv1108_defconfig         |  1 +
 configs/evb-rk3128_defconfig           |  1 +
 configs/evb-rv1108_defconfig           |  1 +
 configs/pm9g45_defconfig               |  1 -
 configs/qemu_arm64_defconfig           |  5 ++++
 configs/qemu_arm_defconfig             |  5 ++++
 configs/snow_defconfig                 |  1 +
 10 files changed, 40 insertions(+), 17 deletions(-)

-- 
2.33.1.1089.g2158813163f-goog



More information about the U-Boot mailing list