aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-11 17:33:00 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-11 17:33:00 +0000
commit190cd0215b1667d41db4ca2f04f0e1fa8c75027c (patch)
tree5c525c17e669bf88d366012166fb483b2e7316f5 /hw
parenta0b753dfd3920df146a5f4d05e442e3c522900c7 (diff)
Remove redundant ram_require machine properly.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7090 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/an5206.c1
-rw-r--r--hw/axis_dev88.c1
-rw-r--r--hw/boards.h2
-rw-r--r--hw/etraxfs.c1
-rw-r--r--hw/gumstix.c2
-rw-r--r--hw/integratorcp.c1
-rw-r--r--hw/mainstone.c2
-rw-r--r--hw/mcf5208.c1
-rw-r--r--hw/mips_jazz.c2
-rw-r--r--hw/mips_malta.c1
-rw-r--r--hw/mips_mipssim.c1
-rw-r--r--hw/mips_r4k.c1
-rw-r--r--hw/musicpal.c2
-rw-r--r--hw/nseries.c4
-rw-r--r--hw/omap_sx1.c2
-rw-r--r--hw/palm.c2
-rw-r--r--hw/pc.c2
-rw-r--r--hw/ppc405_boards.c2
-rw-r--r--hw/ppc440_bamboo.c1
-rw-r--r--hw/ppc_newworld.c1
-rw-r--r--hw/ppc_oldworld.c1
-rw-r--r--hw/ppc_prep.c1
-rw-r--r--hw/ppce500_mpc8544ds.c1
-rw-r--r--hw/r2d.c1
-rw-r--r--hw/realview.c1
-rw-r--r--hw/shix.c1
-rw-r--r--hw/spitz.c4
-rw-r--r--hw/stellaris.c2
-rw-r--r--hw/sun4m.c15
-rw-r--r--hw/sun4u.c3
-rw-r--r--hw/tosa.c1
31 files changed, 0 insertions, 63 deletions
diff --git a/hw/an5206.c b/hw/an5206.c
index cd40d2a504..a5e352eb29 100644
--- a/hw/an5206.c
+++ b/hw/an5206.c
@@ -88,5 +88,4 @@ QEMUMachine an5206_machine = {
.name = "an5206",
.desc = "Arnewsh 5206",
.init = an5206_init,
- .ram_require = 512,
};
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c
index aa6125aceb..85ca81e772 100644
--- a/hw/axis_dev88.c
+++ b/hw/axis_dev88.c
@@ -366,5 +366,4 @@ QEMUMachine axisdev88_machine = {
.name = "axis-dev88",
.desc = "AXIS devboard 88",
.init = axisdev88_init,
- .ram_require = 0x8000000,
};
diff --git a/hw/boards.h b/hw/boards.h
index 1e18ba6009..7fada948e4 100644
--- a/hw/boards.h
+++ b/hw/boards.h
@@ -14,8 +14,6 @@ typedef struct QEMUMachine {
const char *name;
const char *desc;
QEMUMachineInitFunc *init;
-#define RAMSIZE_FIXED (1 << 0)
- ram_addr_t ram_require;
int use_scsi;
int max_cpus;
struct QEMUMachine *next;
diff --git a/hw/etraxfs.c b/hw/etraxfs.c
index 445f5f9012..03bff48443 100644
--- a/hw/etraxfs.c
+++ b/hw/etraxfs.c
@@ -157,5 +157,4 @@ QEMUMachine bareetraxfs_machine = {
.name = "bareetraxfs",
.desc = "Bare ETRAX FS board",
.init = bareetraxfs_init,
- .ram_require = 0x8000000,
};
diff --git a/hw/gumstix.c b/hw/gumstix.c
index 87d84b6b92..cce86fba69 100644
--- a/hw/gumstix.c
+++ b/hw/gumstix.c
@@ -113,12 +113,10 @@ QEMUMachine connex_machine = {
.name = "connex",
.desc = "Gumstix Connex (PXA255)",
.init = connex_init,
- .ram_require = (0x05000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
};
QEMUMachine verdex_machine = {
.name = "verdex",
.desc = "Gumstix Verdex (PXA270)",
.init = verdex_init,
- .ram_require = (0x12000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
};
diff --git a/hw/integratorcp.c b/hw/integratorcp.c
index 8f2ff2da60..68f34f6368 100644
--- a/hw/integratorcp.c
+++ b/hw/integratorcp.c
@@ -510,5 +510,4 @@ QEMUMachine integratorcp_machine = {
.name = "integratorcp",
.desc = "ARM Integrator/CP (ARM926EJ-S)",
.init = integratorcp_init,
- .ram_require = 0x100000,
};
diff --git a/hw/mainstone.c b/hw/mainstone.c
index e5bca4af9b..522254a68e 100644
--- a/hw/mainstone.c
+++ b/hw/mainstone.c
@@ -139,6 +139,4 @@ QEMUMachine mainstone2_machine = {
.name = "mainstone",
.desc = "Mainstone II (PXA27x)",
.init = mainstone_init,
- .ram_require = (MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH +
- PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
};
diff --git a/hw/mcf5208.c b/hw/mcf5208.c
index 02aabdf84c..5404dba79c 100644
--- a/hw/mcf5208.c
+++ b/hw/mcf5208.c
@@ -294,5 +294,4 @@ QEMUMachine mcf5208evb_machine = {
.name = "mcf5208evb",
.desc = "MCF5206EVB",
.init = mcf5208evb_init,
- .ram_require = 16384,
};
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index 2931b4753c..510812ebef 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -292,7 +292,6 @@ QEMUMachine mips_magnum_machine = {
.name = "magnum",
.desc = "MIPS Magnum",
.init = mips_magnum_init,
- .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
.use_scsi = 1,
};
@@ -300,6 +299,5 @@ QEMUMachine mips_pica61_machine = {
.name = "pica61",
.desc = "Acer Pica 61",
.init = mips_pica61_init,
- .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
.use_scsi = 1,
};
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index bbc73228e6..e7504c1bf5 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -958,5 +958,4 @@ QEMUMachine mips_malta_machine = {
.name = "malta",
.desc = "MIPS Malta Core LV",
.init = mips_malta_init,
- .ram_require = VGA_RAM_SIZE + BIOS_SIZE,
};
diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c
index f20f796840..676cd265c5 100644
--- a/hw/mips_mipssim.c
+++ b/hw/mips_mipssim.c
@@ -187,5 +187,4 @@ QEMUMachine mips_mipssim_machine = {
.name = "mipssim",
.desc = "MIPS MIPSsim platform",
.init = mips_mipssim_init,
- .ram_require = BIOS_SIZE + VGA_RAM_SIZE /* unused */,
};
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index ba44037f15..51232cf36e 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -284,5 +284,4 @@ QEMUMachine mips_machine = {
.name = "mips",
.desc = "mips r4k platform",
.init = mips_r4k_init,
- .ram_require = VGA_RAM_SIZE + BIOS_SIZE,
};
diff --git a/hw/musicpal.c b/hw/musicpal.c
index 9fb6c61090..5de16911ae 100644
--- a/hw/musicpal.c
+++ b/hw/musicpal.c
@@ -1594,6 +1594,4 @@ QEMUMachine musicpal_machine = {
.name = "musicpal",
.desc = "Marvell 88w8618 / MusicPal (ARM926EJ-S)",
.init = musicpal_init,
- .ram_require = MP_RAM_DEFAULT_SIZE + MP_SRAM_SIZE +
- MP_FLASH_SIZE_MAX + RAMSIZE_FIXED,
};
diff --git a/hw/nseries.c b/hw/nseries.c
index 17bcac6d73..dafc0ba81d 100644
--- a/hw/nseries.c
+++ b/hw/nseries.c
@@ -1407,14 +1407,10 @@ QEMUMachine n800_machine = {
.name = "n800",
.desc = "Nokia N800 tablet aka. RX-34 (OMAP2420)",
.init = n800_init,
- .ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) |
- RAMSIZE_FIXED,
};
QEMUMachine n810_machine = {
.name = "n810",
.desc = "Nokia N810 tablet aka. RX-44 (OMAP2420)",
.init = n810_init,
- .ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) |
- RAMSIZE_FIXED,
};
diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c
index afd2581fa6..5145a63e9c 100644
--- a/hw/omap_sx1.c
+++ b/hw/omap_sx1.c
@@ -227,12 +227,10 @@ QEMUMachine sx1_machine_v2 = {
.name = "sx1",
.desc = "Siemens SX1 (OMAP310) V2",
.init = sx1_init_v2,
- .ram_require = total_ram_v2 | RAMSIZE_FIXED,
};
QEMUMachine sx1_machine_v1 = {
.name = "sx1-v1",
.desc = "Siemens SX1 (OMAP310) V1",
.init = sx1_init_v1,
- .ram_require = total_ram_v1 | RAMSIZE_FIXED,
};
diff --git a/hw/palm.c b/hw/palm.c
index 0b504a9b0a..865dabb91b 100644
--- a/hw/palm.c
+++ b/hw/palm.c
@@ -285,6 +285,4 @@ QEMUMachine palmte_machine = {
.name = "cheetah",
.desc = "Palm Tungsten|E aka. Cheetah PDA (OMAP310)",
.init = palmte_init,
- .ram_require = (0x02000000 + 0x00800000 + OMAP15XX_SRAM_SIZE) |
- RAMSIZE_FIXED,
};
diff --git a/hw/pc.c b/hw/pc.c
index 5f7b7d5f74..6a1750e10b 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1137,7 +1137,6 @@ QEMUMachine pc_machine = {
.name = "pc",
.desc = "Standard PC",
.init = pc_init_pci,
- .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
.max_cpus = 255,
};
@@ -1145,6 +1144,5 @@ QEMUMachine isapc_machine = {
.name = "isapc",
.desc = "ISA-only PC",
.init = pc_init_isa,
- .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
.max_cpus = 1,
};
diff --git a/hw/ppc405_boards.c b/hw/ppc405_boards.c
index df834cd853..6e9bfca374 100644
--- a/hw/ppc405_boards.c
+++ b/hw/ppc405_boards.c
@@ -349,7 +349,6 @@ QEMUMachine ref405ep_machine = {
.name = "ref405ep",
.desc = "ref405ep",
.init = ref405ep_init,
- .ram_require = (128 * 1024 * 1024 + 4096 + 512 * 1024 + BIOS_SIZE) | RAMSIZE_FIXED,
};
/*****************************************************************************/
@@ -630,5 +629,4 @@ QEMUMachine taihu_machine = {
"taihu",
"taihu",
taihu_405ep_init,
- (128 * 1024 * 1024 + 4096 + BIOS_SIZE + 32 * 1024 * 1024) | RAMSIZE_FIXED,
};
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index b249e00c69..6963309306 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -190,5 +190,4 @@ QEMUMachine bamboo_machine = {
.name = "bamboo",
.desc = "bamboo",
.init = bamboo_init,
- .ram_require = 8<<20 | RAMSIZE_FIXED,
};
diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c
index feae74a22a..f67b727e6c 100644
--- a/hw/ppc_newworld.c
+++ b/hw/ppc_newworld.c
@@ -357,6 +357,5 @@ QEMUMachine core99_machine = {
.name = "mac99",
.desc = "Mac99 based PowerMAC",
.init = ppc_core99_init,
- .ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE,
.max_cpus = MAX_CPUS,
};
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index a29999293f..06c77b4789 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -388,6 +388,5 @@ QEMUMachine heathrow_machine = {
.name = "g3beige",
.desc = "Heathrow based PowerMAC",
.init = ppc_heathrow_init,
- .ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE,
.max_cpus = MAX_CPUS,
};
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 07b572639e..0e2d58131d 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -764,6 +764,5 @@ QEMUMachine prep_machine = {
.name = "prep",
.desc = "PowerPC PREP platform",
.init = ppc_prep_init,
- .ram_require = BIOS_SIZE + VGA_RAM_SIZE,
.max_cpus = MAX_CPUS,
};
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 50ad8149e5..d946f038e4 100644
--- a/hw/ppce500_mpc8544ds.c
+++ b/hw/ppce500_mpc8544ds.c
@@ -286,5 +286,4 @@ QEMUMachine mpc8544ds_machine = {
.name = "mpc8544ds",
.desc = "mpc8544ds",
.init = mpc8544ds_init,
- .ram_require = RAM_SIZES_ALIGN | RAMSIZE_FIXED,
};
diff --git a/hw/r2d.c b/hw/r2d.c
index 4ee02c11d8..4684296b7a 100644
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -262,5 +262,4 @@ QEMUMachine r2d_machine = {
.name = "r2d",
.desc = "r2d-plus board",
.init = r2d_init,
- .ram_require = (SDRAM_SIZE + SM501_VRAM_SIZE) | RAMSIZE_FIXED,
};
diff --git a/hw/realview.c b/hw/realview.c
index 959b99e688..e41be49806 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -204,6 +204,5 @@ QEMUMachine realview_machine = {
.name = "realview",
.desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)",
.init = realview_init,
- .ram_require = 0x1000,
.use_scsi = 1,
};
diff --git a/hw/shix.c b/hw/shix.c
index 61bc735dea..cba62e754d 100644
--- a/hw/shix.c
+++ b/hw/shix.c
@@ -92,5 +92,4 @@ QEMUMachine shix_machine = {
.name = "shix",
.desc = "shix card",
.init = shix_init,
- .ram_require = (0x00004000 + 0x01000000 + 0x01000000) | RAMSIZE_FIXED,
};
diff --git a/hw/spitz.c b/hw/spitz.c
index 852d9b9675..c4133fdd3a 100644
--- a/hw/spitz.c
+++ b/hw/spitz.c
@@ -1003,26 +1003,22 @@ QEMUMachine akitapda_machine = {
.name = "akita",
.desc = "Akita PDA (PXA270)",
.init = akita_init,
- .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
};
QEMUMachine spitzpda_machine = {
.name = "spitz",
.desc = "Spitz PDA (PXA270)",
.init = spitz_init,
- .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
};
QEMUMachine borzoipda_machine = {
.name = "borzoi",
.desc = "Borzoi PDA (PXA270)",
.init = borzoi_init,
- .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
};
QEMUMachine terrierpda_machine = {
.name = "terrier",
.desc = "Terrier PDA (PXA270)",
.init = terrier_init,
- .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
};
diff --git a/hw/stellaris.c b/hw/stellaris.c
index aeeab960b7..cefad85269 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -1398,12 +1398,10 @@ QEMUMachine lm3s811evb_machine = {
.name = "lm3s811evb",
.desc = "Stellaris LM3S811EVB",
.init = lm3s811evb_init,
- .ram_require = (64 * 1024 + 8 * 1024) | RAMSIZE_FIXED,
};
QEMUMachine lm3s6965evb_machine = {
.name = "lm3s6965evb",
.desc = "Stellaris LM3S6965EVB",
.init = lm3s6965evb_init,
- .ram_require = (256 * 1024 + 64 * 1024) | RAMSIZE_FIXED,
};
diff --git a/hw/sun4m.c b/hw/sun4m.c
index a459055704..1f1efd0733 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -83,9 +83,6 @@
#define CFG_ADDR 0xd00000510ULL
#define FW_CFG_SUN4M_DEPTH (FW_CFG_ARCH_LOCAL + 0x00)
-// Control plane, 8-bit and 24-bit planes
-#define TCX_SIZE (9 * 1024 * 1024)
-
#define MAX_CPUS 16
#define MAX_PILS 16
@@ -1028,7 +1025,6 @@ QEMUMachine ss5_machine = {
.name = "SS-5",
.desc = "Sun4m platform, SPARCstation 5",
.init = ss5_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
@@ -1036,7 +1032,6 @@ QEMUMachine ss10_machine = {
.name = "SS-10",
.desc = "Sun4m platform, SPARCstation 10",
.init = ss10_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
.max_cpus = 4,
};
@@ -1045,7 +1040,6 @@ QEMUMachine ss600mp_machine = {
.name = "SS-600MP",
.desc = "Sun4m platform, SPARCserver 600MP",
.init = ss600mp_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
.max_cpus = 4,
};
@@ -1054,7 +1048,6 @@ QEMUMachine ss20_machine = {
.name = "SS-20",
.desc = "Sun4m platform, SPARCstation 20",
.init = ss20_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
.max_cpus = 4,
};
@@ -1063,7 +1056,6 @@ QEMUMachine voyager_machine = {
.name = "Voyager",
.desc = "Sun4m platform, SPARCstation Voyager",
.init = vger_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
@@ -1071,7 +1063,6 @@ QEMUMachine ss_lx_machine = {
.name = "LX",
.desc = "Sun4m platform, SPARCstation LX",
.init = ss_lx_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
@@ -1079,7 +1070,6 @@ QEMUMachine ss4_machine = {
.name = "SS-4",
.desc = "Sun4m platform, SPARCstation 4",
.init = ss4_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
@@ -1087,7 +1077,6 @@ QEMUMachine scls_machine = {
.name = "SPARCClassic",
.desc = "Sun4m platform, SPARCClassic",
.init = scls_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
@@ -1095,7 +1084,6 @@ QEMUMachine sbook_machine = {
.name = "SPARCbook",
.desc = "Sun4m platform, SPARCbook",
.init = sbook_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
@@ -1348,7 +1336,6 @@ QEMUMachine ss1000_machine = {
.name = "SS-1000",
.desc = "Sun4d platform, SPARCserver 1000",
.init = ss1000_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
.max_cpus = 8,
};
@@ -1357,7 +1344,6 @@ QEMUMachine ss2000_machine = {
.name = "SS-2000",
.desc = "Sun4d platform, SPARCcenter 2000",
.init = ss2000_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
.max_cpus = 20,
};
@@ -1566,6 +1552,5 @@ QEMUMachine ss2_machine = {
.name = "SS-2",
.desc = "Sun4c platform, SPARCstation 2",
.init = ss2_init,
- .ram_require = PROM_SIZE_MAX + TCX_SIZE,
.use_scsi = 1,
};
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 75f51b8563..de635d4293 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -593,7 +593,6 @@ QEMUMachine sun4u_machine = {
.name = "sun4u",
.desc = "Sun4u platform",
.init = sun4u_init,
- .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
.max_cpus = 1, // XXX for now
};
@@ -601,7 +600,6 @@ QEMUMachine sun4v_machine = {
.name = "sun4v",
.desc = "Sun4v platform",
.init = sun4v_init,
- .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
.max_cpus = 1, // XXX for now
};
@@ -609,6 +607,5 @@ QEMUMachine niagara_machine = {
.name = "Niagara",
.desc = "Sun4v platform, Niagara",
.init = niagara_init,
- .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
.max_cpus = 1, // XXX for now
};
diff --git a/hw/tosa.c b/hw/tosa.c
index de308a9d8e..0182e71156 100644
--- a/hw/tosa.c
+++ b/hw/tosa.c
@@ -240,5 +240,4 @@ QEMUMachine tosapda_machine = {
.name = "tosa",
.desc = "Tosa PDA (PXA255)",
.init = tosa_init,
- .ram_require = TOSA_RAM + TOSA_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED + TC6393XB_RAM,
};