]> Git Repo - qemu.git/blobdiff - include/hw/arm/fsl-imx7.h
Move QOM typedefs and add missing includes
[qemu.git] / include / hw / arm / fsl-imx7.h
index da977f9ffb474f288f27517ecba0dfe49f5e2312..8095e5544b2430a1ab9ce029c82b631fd6918cac 100644 (file)
 #include "hw/pci-host/designware.h"
 #include "hw/usb/chipidea.h"
 #include "cpu.h"
+#include "qom/object.h"
 
 #define TYPE_FSL_IMX7 "fsl,imx7"
+typedef struct FslIMX7State FslIMX7State;
 #define FSL_IMX7(obj) OBJECT_CHECK(FslIMX7State, (obj), TYPE_FSL_IMX7)
 
 enum FslIMX7Configuration {
@@ -59,7 +61,7 @@ enum FslIMX7Configuration {
     FSL_IMX7_NUM_ADCS         = 2,
 };
 
-typedef struct FslIMX7State {
+struct FslIMX7State {
     /*< private >*/
     DeviceState    parent_obj;
 
@@ -81,7 +83,8 @@ typedef struct FslIMX7State {
     IMX7GPRState       gpr;
     ChipideaState      usb[FSL_IMX7_NUM_USBS];
     DesignwarePCIEHost pcie;
-} FslIMX7State;
+    uint32_t           phy_num[FSL_IMX7_NUM_ETHS];
+};
 
 enum FslIMX7MemoryMap {
     FSL_IMX7_MMDC_ADDR            = 0x80000000,
This page took 0.023425 seconds and 4 git commands to generate.