[PATCH v2 0/5] hw: aspeed: Init all UART's with serial devices

Peter Delevoryas pdel at fb.com
Mon May 16 16:23:23 AEST 2022


v2:
- Rebased on Cedric's irq proposal. [1]
- Added "Introduce common UART init function" patch
- Added "Add uarts_num SoC attribute" patch
- Rewrote last commit's message for clarity

I tried testing this by running acceptance tests, particularly the
boot_linux_console.py file, but I had to disable the raspi2_initrd case.
It's not related to my changes (A/B tested and it fails on upstream/master
too), but thought I would mention that.

I also manually tested several machines:

AST2400: https://github.com/facebook/openbmc/releases/download/v2021.49.0/wedge100.mtd
AST2500: https://github.com/facebook/openbmc/releases/download/v2021.49.0/fby3.mtd
AST2600: https://github.com/facebook/openbmc/releases/download/v2021.49.0/fuji.mtd
AST1030: https://github.com/peterdelevoryas/OpenBIC/releases/download/oby35-cl-2022.13.01/Y35BCL.elf

[1] https://lore.kernel.org/qemu-devel/20220516055620.2380197-1-clg@kaod.org/

Peter Delevoryas (5):
  hw: aspeed: Add missing UART's
  hw: aspeed: Add uarts_num SoC attribute
  hw: aspeed: Ensure AST1030 respects uart-default
  hw: aspeed: Introduce common UART init function
  hw: aspeed: Init all UART's with serial devices

 hw/arm/aspeed_ast10x0.c     | 32 +++++++++++++++++++++++++++-----
 hw/arm/aspeed_ast2600.c     | 27 ++++++++++++++++++++++-----
 hw/arm/aspeed_soc.c         | 33 +++++++++++++++++++++++++++++----
 include/hw/arm/aspeed_soc.h | 10 ++++++++++
 4 files changed, 88 insertions(+), 14 deletions(-)

-- 
2.30.2



More information about the openbmc mailing list