]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/aspeed.c
aspeed: introduce a new UART0 device name
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 Feb 2024 07:53:30 +0000 (15:53 +0800)
committerCédric Le Goater <clg@kaod.org>
Tue, 27 Feb 2024 12:47:05 +0000 (13:47 +0100)
commit944128ee8e26d70a29c66e0e630ceb371750f23c
treee88ec9a4c275e51f640a1d6e4335e8279608ba7c
parent1b330dafcdc34315f6837ff3af34dbb4b3106373
aspeed: introduce a new UART0 device name

The Aspeed datasheet refers to the UART controllers
as UART1 - UART13 for the ast10x0, ast2600, ast2500
and ast2400 SoCs and the Aspeed ast2700 introduces an UART0
and the UART controllers as UART0 - UART12.

To keep the naming in the QEMU models
in sync with the datasheet, let's introduce a new  UART0 device name
and do the required adjustements.

Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[ clg: - Kept original assert() in aspeed_soc_uart_set_chr()
       - Fixed 'i' range in connect_serial_hds_to_uarts() loop ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed.c
hw/arm/aspeed_ast10x0.c
hw/arm/aspeed_ast2400.c
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc_common.c
include/hw/arm/aspeed_soc.h