On 10/13/25 07:43, Jamin Lin wrote:
Refactor the aspeed_uart_first() helper to remove its dependency on
AspeedSoCState and make the UART helper APIs more generic.

The function now takes uarts_base as an integer parameter instead of
requiring a full SoC class instance. Corresponding call sites in
aspeed.c and aspeed_soc_common.c are updated accordingly.

No functional change.

Signed-off-by: Jamin Lin <[email protected]>
---
  include/hw/arm/aspeed_soc.h | 6 +++---
  hw/arm/aspeed.c             | 2 +-
  hw/arm/aspeed_soc_common.c  | 2 +-
  3 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Cédric Le Goater <[email protected]>

Thanks,

C.




Reply via email to