Revision a0b753df hw/gumstix.c

b/hw/gumstix.c
52 52
    uint32_t connex_rom = 0x01000000;
53 53
    uint32_t connex_ram = 0x04000000;
54 54

  
55
    if (ram_size < (connex_ram + connex_rom + PXA2XX_INTERNAL_SIZE)) {
56
        fprintf(stderr, "This platform requires %i bytes of memory\n",
57
                connex_ram + connex_rom + PXA2XX_INTERNAL_SIZE);
58
        exit(1);
59
    }
60

  
61 55
    cpu = pxa255_init(connex_ram);
62 56

  
63 57
    index = drive_get_index(IF_PFLASH, 0, 0);
......
92 86
    uint32_t verdex_rom = 0x02000000;
93 87
    uint32_t verdex_ram = 0x10000000;
94 88

  
95
    if (ram_size < (verdex_ram + verdex_rom + PXA2XX_INTERNAL_SIZE)) {
96
        fprintf(stderr, "This platform requires %i bytes of memory\n",
97
                verdex_ram + verdex_rom + PXA2XX_INTERNAL_SIZE);
98
        exit(1);
99
    }
100

  
101 89
    cpu = pxa270_init(verdex_ram, cpu_model ?: "pxa270-c0");
102 90

  
103 91
    index = drive_get_index(IF_PFLASH, 0, 0);

Also available in: Unified diff