qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH for-7.1 03/18] hw/arm/exynos4210: Put a9mpcore device into st


From: Richard Henderson
Subject: Re: [PATCH for-7.1 03/18] hw/arm/exynos4210: Put a9mpcore device into state struct
Date: Wed, 6 Apr 2022 08:39:57 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/4/22 10:46, Peter Maydell wrote:
The exynos4210 SoC mostly creates its child devices as if it were
board code.  This includes the a9mpcore object.  Switch that to a
new-style "embedded in the state struct" creation, because in the
next commit we're going to want to refer to the object again further
down in the exynos4210_realize() function.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
I don't propose to try to do a full conversion of every child
device; I'm only going to do them where it makes a subsequent
commit a bit nicer, like this one.
---
  include/hw/arm/exynos4210.h |  2 ++
  hw/arm/exynos4210.c         | 11 ++++++-----
  2 files changed, 8 insertions(+), 5 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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