]> Git Repo - qemu.git/commitdiff
i.mx7d: Add no-op/unimplemented PCIE PHY IP block
authorAndrey Smirnov <[email protected]>
Mon, 1 Jul 2019 16:26:14 +0000 (17:26 +0100)
committerPeter Maydell <[email protected]>
Mon, 1 Jul 2019 16:28:59 +0000 (17:28 +0100)
Add no-op/unimplemented PCIE PHY IP block. Needed by new kernels to
use PCIE.

Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Peter Maydell <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/fsl-imx7.c
include/hw/arm/fsl-imx7.h

index 803fe94c0343a72f7c75d59b1c462e03a62a1aa3..2eddf3f25c67a2143cf0969fe0d7211101b5e5d8 100644 (file)
@@ -532,6 +532,11 @@ static void fsl_imx7_realize(DeviceState *dev, Error **errp)
      */
     create_unimplemented_device("dma-apbh", FSL_IMX7_DMA_APBH_ADDR,
                                 FSL_IMX7_DMA_APBH_SIZE);
+    /*
+     * PCIe PHY
+     */
+    create_unimplemented_device("pcie-phy", FSL_IMX7_PCIE_PHY_ADDR,
+                                FSL_IMX7_PCIE_PHY_SIZE);
 }
 
 static void fsl_imx7_class_init(ObjectClass *oc, void *data)
index dcd73603c33c856d9797fb07689c03d293e5f784..09f4f33f6e527210f251ce18ec5eee6974435550 100644 (file)
@@ -125,6 +125,9 @@ enum FslIMX7MemoryMap {
     FSL_IMX7_ADC2_ADDR            = 0x30620000,
     FSL_IMX7_ADCn_SIZE            = 0x1000,
 
+    FSL_IMX7_PCIE_PHY_ADDR        = 0x306D0000,
+    FSL_IMX7_PCIE_PHY_SIZE        = 0x10000,
+
     FSL_IMX7_GPC_ADDR             = 0x303A0000,
 
     FSL_IMX7_I2C1_ADDR            = 0x30A20000,
This page took 0.028804 seconds and 4 git commands to generate.