diff mbox

[13/23] lm32: Suppress unused default drives

Message ID 1344519084-21847-14-git-send-email-armbru@redhat.com
State New
Headers show

Commit Message

Markus Armbruster Aug. 9, 2012, 1:31 p.m. UTC
Cc: Michael Walle <michael@walle.cc>

Suppress default floppy and CD-ROM drives for machines lm32-evr,
lm32-uclinux, milkymist.

Suppress default SD card drive for machines lm32-evr, lm32-uclinux.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/lm32_boards.c | 6 ++++++
 hw/milkymist.c   | 2 ++
 2 files changed, 8 insertions(+)

Comments

Michael Walle Aug. 9, 2012, 6:34 p.m. UTC | #1
Am Donnerstag 09 August 2012, 15:31:14 schrieb Markus Armbruster:
> Cc: Michael Walle <michael@walle.cc>
> 
> Suppress default floppy and CD-ROM drives for machines lm32-evr,
> lm32-uclinux, milkymist.
> 
> Suppress default SD card drive for machines lm32-evr, lm32-uclinux.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>  hw/lm32_boards.c | 6 ++++++
>  hw/milkymist.c   | 2 ++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c
> index b76d800..973f89e 100644
> --- a/hw/lm32_boards.c
> +++ b/hw/lm32_boards.c
> @@ -290,6 +290,9 @@ static QEMUMachine lm32_evr_machine = {
>      .name = "lm32-evr",
>      .desc = "LatticeMico32 EVR32 eval system",
>      .init = lm32_evr_init,
> +    .no_floppy = 1,
> +    .no_cdrom = 1,
> +    .no_sdcard = 1,
>      .is_default = 1
>  };
> 
> @@ -297,6 +300,9 @@ static QEMUMachine lm32_uclinux_machine = {
>      .name = "lm32-uclinux",
>      .desc = "lm32 platform for uClinux and u-boot by Theobroma Systems",
>      .init = lm32_uclinux_init,
> +    .no_floppy = 1,
> +    .no_cdrom = 1,
> +    .no_sdcard = 1,
>      .is_default = 0
>  };
> 
> diff --git a/hw/milkymist.c b/hw/milkymist.c
> index 2e7235b..d58afe4 100644
> --- a/hw/milkymist.c
> +++ b/hw/milkymist.c
> @@ -207,6 +207,8 @@ static QEMUMachine milkymist_machine = {
>      .name = "milkymist",
>      .desc = "Milkymist One",
>      .init = milkymist_init,
> +    .no_floppy = 1,
> +    .no_cdrom = 1,
>      .is_default = 0
>  };

Acked-by: Michael Walle <michael@walle.cc>
diff mbox

Patch

diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c
index b76d800..973f89e 100644
--- a/hw/lm32_boards.c
+++ b/hw/lm32_boards.c
@@ -290,6 +290,9 @@  static QEMUMachine lm32_evr_machine = {
     .name = "lm32-evr",
     .desc = "LatticeMico32 EVR32 eval system",
     .init = lm32_evr_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
     .is_default = 1
 };
 
@@ -297,6 +300,9 @@  static QEMUMachine lm32_uclinux_machine = {
     .name = "lm32-uclinux",
     .desc = "lm32 platform for uClinux and u-boot by Theobroma Systems",
     .init = lm32_uclinux_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
     .is_default = 0
 };
 
diff --git a/hw/milkymist.c b/hw/milkymist.c
index 2e7235b..d58afe4 100644
--- a/hw/milkymist.c
+++ b/hw/milkymist.c
@@ -207,6 +207,8 @@  static QEMUMachine milkymist_machine = {
     .name = "milkymist",
     .desc = "Milkymist One",
     .init = milkymist_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
     .is_default = 0
 };