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

The function now takes uarts_base and uarts_num as integer
parameters instead of requiring a full SoC class instance.
All related call sites in aspeed.c are updated accordingly.

No functional change.

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

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

Thanks,

C.



Reply via email to