mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Remove more redundant ram size checks.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7089 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
94a6b54fd6
commit
a0b753dfd3
6 changed files with 1 additions and 37 deletions
|
@ -205,12 +205,6 @@ static void tosa_init(ram_addr_t ram_size, int vga_ram_size,
|
|||
struct tc6393xb_s *tmio;
|
||||
struct scoop_info_s *scp0, *scp1;
|
||||
|
||||
if (ram_size < (TOSA_RAM + TOSA_ROM + PXA2XX_INTERNAL_SIZE + TC6393XB_RAM)) {
|
||||
fprintf(stderr, "This platform requires %i bytes of memory\n",
|
||||
TOSA_RAM + TOSA_ROM + PXA2XX_INTERNAL_SIZE);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!cpu_model)
|
||||
cpu_model = "pxa255";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue