diff options
author | Kenneth Jia <kenneth_jia@asus.com> | 2024-12-12 20:42:04 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-01-27 09:38:15 +0100 |
commit | 8a139ae719616d85d835528a35f41eb23bfa54c7 (patch) | |
tree | b21c8b2c97e52cc86c8781fce9fb9e742b420b77 /scripts/xml-preprocess.py | |
parent | ed734377ab3f3f3cc15d7aa301a87ab6370f2eed (diff) | |
download | qemu-8a139ae719616d85d835528a35f41eb23bfa54c7.zip qemu-8a139ae719616d85d835528a35f41eb23bfa54c7.tar.gz qemu-8a139ae719616d85d835528a35f41eb23bfa54c7.tar.bz2 |
hw/arm/aspeed: fix connect_serial_hds_to_uarts
In the loop, we need ignore the index increase when uart == uart_chosen
We should increase the index only after we allocate a serial.
Signed-off-by: Kenneth Jia <kenneth_jia@asus.com>
Fixes: d2b3eaefb4d7 ("aspeed: Refactor UART init for multi-SoC machines")
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/5f9b0c53f1644922ba85522046e92f4c@asus.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions