On 4/16/19 3:38 AM, Andrey Smirnov wrote: > Instantiate no-op APBH DMA module. Needed to boot latest Linux kernel. > > Signed-off-by: Andrey Smirnov <andrew.smir...@gmail.com> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: Michael S. Tsirkin <m...@redhat.com> > Cc: qemu-devel@nongnu.org > Cc: qemu-...@nongnu.org > --- > include/hw/arm/fsl-imx7.h | 3 +++ > hw/arm/fsl-imx7.c | 6 ++++++ > 2 files changed, 9 insertions(+) > > diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h > index d848262bfd..aae4f860fc 100644 > --- a/include/hw/arm/fsl-imx7.h > +++ b/include/hw/arm/fsl-imx7.h > @@ -179,6 +179,9 @@ enum FslIMX7MemoryMap { > FSL_IMX7_PCIE_REG_SIZE = 16 * 1024, > > FSL_IMX7_GPR_ADDR = 0x30340000, > + > + FSL_IMX7_DMA_APBH_ADDR = 0x33000000, > + FSL_IMX7_DMA_APBH_SIZE = 0x2000,
0x8000? > }; > > enum FslIMX7IRQs { > diff --git a/hw/arm/fsl-imx7.c b/hw/arm/fsl-imx7.c > index 7663ad6861..1abfa5910c 100644 > --- a/hw/arm/fsl-imx7.c > +++ b/hw/arm/fsl-imx7.c > @@ -526,6 +526,12 @@ static void fsl_imx7_realize(DeviceState *dev, Error > **errp) > */ > create_unimplemented_device("lcdif", FSL_IMX7_LCDIF_ADDR, > FSL_IMX7_LCDIF_SIZE); > + > + /* > + * DMA APBH > + */ > + create_unimplemented_device("dma-apbh", FSL_IMX7_DMA_APBH_ADDR, > + FSL_IMX7_DMA_APBH_SIZE); > } > > static void fsl_imx7_class_init(ObjectClass *oc, void *data) >