diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2023-09-22 17:21:39 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-03 10:29:39 +0200 |
commit | b8ab0303de5a72d89da5ab25d8fe817d8797888f (patch) | |
tree | 0609ead6c7f95ccb566ff221369e3f7466077af0 /hw/arm/nseries.c | |
parent | 7a2c7da6448eb8538bccbbc288508bde69bc4c2d (diff) | |
download | qemu-b8ab0303de5a72d89da5ab25d8fe817d8797888f.zip qemu-b8ab0303de5a72d89da5ab25d8fe817d8797888f.tar.gz qemu-b8ab0303de5a72d89da5ab25d8fe817d8797888f.tar.bz2 |
hw/arm: Support machine-default audiodev with fallback
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/arm/nseries.c')
-rw-r--r-- | hw/arm/nseries.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c index 9e49e9e..35aff46 100644 --- a/hw/arm/nseries.c +++ b/hw/arm/nseries.c @@ -1432,6 +1432,8 @@ static void n800_class_init(ObjectClass *oc, void *data) /* Actually two chips of 0x4000000 bytes each */ mc->default_ram_size = 0x08000000; mc->default_ram_id = "omap2.dram"; + + machine_add_audiodev_property(mc); } static const TypeInfo n800_type = { @@ -1452,6 +1454,8 @@ static void n810_class_init(ObjectClass *oc, void *data) /* Actually two chips of 0x4000000 bytes each */ mc->default_ram_size = 0x08000000; mc->default_ram_id = "omap2.dram"; + + machine_add_audiodev_property(mc); } static const TypeInfo n810_type = { |