qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 04/10] aspeed/smc: Drop AspeedSMCController structure


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 04/10] aspeed/smc: Drop AspeedSMCController structure
Date: Tue, 7 Sep 2021 09:28:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 9/7/21 8:58 AM, Cédric Le Goater wrote:
> The characteristics of the Aspeed controllers are described in a
> AspeedSMCController structure which is redundant with the
> AspeedSMCClass. Move all attributes under the class and adapt the code
> to use class attributes instead.
> 
> This is a large change but it is functionally equivalent.
> 
> Signed-off-by: Cédric Le Goater <clg@kaod.org>
> ---
>  include/hw/ssi/aspeed_smc.h |  64 ++-
>  hw/arm/aspeed_ast2600.c     |   4 +-
>  hw/arm/aspeed_soc.c         |   4 +-
>  hw/ssi/aspeed_smc.c         | 859 ++++++++++++++++++++----------------
>  4 files changed, 510 insertions(+), 421 deletions(-)

Overall LGTM, I might do a more detailed pass later.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]