[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/6] i.MX: Add i.MX6 CCM and ANALOG device.
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 3/6] i.MX: Add i.MX6 CCM and ANALOG device. |
Date: |
Sun, 7 Feb 2016 23:54:07 +0000 |
On 7 February 2016 at 23:28, Jean-Christophe DUBOIS <address@hidden> wrote:
>> Consider doing this with a set of subregions inside a container,
>> rather than an if-elseif chain.
>
>
> Could you point me to an example device using such technique?
hw/cpu/a9mpcore.c sets up a bunch of subregions. You don't
need to have them be actual separate devices like that code
does though -- just create a container region, and a region
for each of analog, a region for ccm, etc, and put those
in the container.
thanks
-- PMM