OSDN Git Service

hw/arm/mps2: Add audio I2S interface as unimplemented device
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 17 Jun 2020 07:25:38 +0000 (09:25 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Jun 2020 10:39:47 +0000 (11:39 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200617072539.32686-14-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/mps2.c

index 2f6acbf..d1653a7 100644 (file)
@@ -373,6 +373,7 @@ static void mps2_common_init(MachineState *machine)
                                          0x4002a000};   /* Shield1 */
         sysbus_create_simple(TYPE_ARM_SBCON_I2C, i2cbase[i], NULL);
     }
+    create_unimplemented_device("i2s", 0x40024000, 0x400);
 
     /* In hardware this is a LAN9220; the LAN9118 is software compatible
      * except that it doesn't support the checksum-offload feature.