Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the flashrom project. |
| 3 | * |
| 4 | * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> |
| 5 | * Copyright (C) 2009 Carl-Daniel Hailfinger |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ |
| 21 | |
| 22 | #include <string.h> |
| 23 | #include <stdlib.h> |
| 24 | #include "flash.h" |
| 25 | #include "flashchips.h" |
| 26 | |
| 27 | /* |
| 28 | * Return a string corresponding to the bustype parameter. |
| 29 | * Memory is obtained with malloc() and can be freed with free(). |
| 30 | */ |
| 31 | char *flashbuses_to_text(enum chipbustype bustype) |
| 32 | { |
| 33 | char *ret = calloc(1, 1); |
| 34 | if (bustype == CHIP_BUSTYPE_UNKNOWN) { |
| 35 | ret = strcat_realloc(ret, "Unknown,"); |
| 36 | /* |
| 37 | * FIXME: Once all chipsets and flash chips have been updated, NONSPI |
| 38 | * will cease to exist and should be eliminated here as well. |
| 39 | */ |
| 40 | } else if (bustype == CHIP_BUSTYPE_NONSPI) { |
| 41 | ret = strcat_realloc(ret, "Non-SPI,"); |
| 42 | } else { |
| 43 | if (bustype & CHIP_BUSTYPE_PARALLEL) |
| 44 | ret = strcat_realloc(ret, "Parallel,"); |
| 45 | if (bustype & CHIP_BUSTYPE_LPC) |
| 46 | ret = strcat_realloc(ret, "LPC,"); |
| 47 | if (bustype & CHIP_BUSTYPE_FWH) |
| 48 | ret = strcat_realloc(ret, "FWH,"); |
| 49 | if (bustype & CHIP_BUSTYPE_SPI) |
| 50 | ret = strcat_realloc(ret, "SPI,"); |
| 51 | if (bustype == CHIP_BUSTYPE_NONE) |
| 52 | ret = strcat_realloc(ret, "None,"); |
| 53 | } |
| 54 | /* Kill last comma. */ |
| 55 | ret[strlen(ret) - 1] = '\0'; |
| 56 | ret = realloc(ret, strlen(ret) + 1); |
| 57 | return ret; |
| 58 | } |
| 59 | |
| 60 | #define POS_PRINT(x) do { pos += strlen(x); printf(x); } while (0) |
| 61 | |
| 62 | static int digits(int n) |
| 63 | { |
| 64 | int i; |
| 65 | |
| 66 | if (!n) |
| 67 | return 1; |
| 68 | |
| 69 | for (i = 0; n; ++i) |
| 70 | n /= 10; |
| 71 | |
| 72 | return i; |
| 73 | } |
| 74 | |
| 75 | void print_supported_chips(void) |
| 76 | { |
| 77 | int okcol = 0, pos = 0, i, chipcount = 0; |
| 78 | struct flashchip *f; |
| 79 | |
| 80 | for (f = flashchips; f->name != NULL; f++) { |
| 81 | if (GENERIC_DEVICE_ID == f->model_id) |
| 82 | continue; |
| 83 | okcol = max(okcol, strlen(f->vendor) + 1 + strlen(f->name)); |
| 84 | } |
| 85 | okcol = (okcol + 7) & ~7; |
| 86 | |
| 87 | for (f = flashchips; f->name != NULL; f++) |
| 88 | chipcount++; |
| 89 | |
| 90 | printf("\nSupported flash chips (total: %d):\n\n", chipcount); |
| 91 | POS_PRINT("Vendor: Device:"); |
| 92 | while (pos < okcol) { |
| 93 | printf("\t"); |
| 94 | pos += 8 - (pos % 8); |
| 95 | } |
| 96 | |
| 97 | printf("Tested OK:\tKnown BAD: Size/KB: Type:\n\n"); |
| 98 | printf("(P = PROBE, R = READ, E = ERASE, W = WRITE)\n\n"); |
| 99 | |
| 100 | for (f = flashchips; f->name != NULL; f++) { |
| 101 | /* Don't print "unknown XXXX SPI chip" entries. */ |
| 102 | if (!strncmp(f->name, "unknown", 7)) |
| 103 | continue; |
| 104 | |
| 105 | printf("%s", f->vendor); |
| 106 | for (i = 0; i < 10 - strlen(f->vendor); i++) |
| 107 | printf(" "); |
| 108 | printf("%s", f->name); |
| 109 | |
| 110 | pos = 10 + strlen(f->name); |
| 111 | while (pos < okcol) { |
| 112 | printf("\t"); |
| 113 | pos += 8 - (pos % 8); |
| 114 | } |
| 115 | if ((f->tested & TEST_OK_MASK)) { |
| 116 | if ((f->tested & TEST_OK_PROBE)) |
| 117 | POS_PRINT("P "); |
| 118 | if ((f->tested & TEST_OK_READ)) |
| 119 | POS_PRINT("R "); |
| 120 | if ((f->tested & TEST_OK_ERASE)) |
| 121 | POS_PRINT("E "); |
| 122 | if ((f->tested & TEST_OK_WRITE)) |
| 123 | POS_PRINT("W "); |
| 124 | } |
| 125 | while (pos < okcol + 9) { |
| 126 | printf("\t"); |
| 127 | pos += 8 - (pos % 8); |
| 128 | } |
| 129 | if ((f->tested & TEST_BAD_MASK)) { |
| 130 | if ((f->tested & TEST_BAD_PROBE)) |
| 131 | printf("P "); |
| 132 | if ((f->tested & TEST_BAD_READ)) |
| 133 | printf("R "); |
| 134 | if ((f->tested & TEST_BAD_ERASE)) |
| 135 | printf("E "); |
| 136 | if ((f->tested & TEST_BAD_WRITE)) |
| 137 | printf("W "); |
| 138 | } |
| 139 | |
| 140 | printf("\t %d", f->total_size); |
| 141 | for (i = 0; i < 10 - digits(f->total_size); i++) |
| 142 | printf(" "); |
| 143 | printf("%s\n", flashbuses_to_text(f->bustype)); |
| 144 | } |
| 145 | } |
| 146 | |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 147 | #if INTERNAL_SUPPORT == 1 |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 148 | void print_supported_chipsets(void) |
| 149 | { |
| 150 | int i, j, chipsetcount = 0; |
| 151 | const struct penable *c = chipset_enables; |
| 152 | |
| 153 | for (i = 0; c[i].vendor_name != NULL; i++) |
| 154 | chipsetcount++; |
| 155 | |
| 156 | printf("\nSupported chipsets (total: %d):\n\nVendor: " |
| 157 | "Chipset: PCI IDs:\n\n", chipsetcount); |
| 158 | |
| 159 | for (i = 0; c[i].vendor_name != NULL; i++) { |
| 160 | printf("%s", c[i].vendor_name); |
| 161 | for (j = 0; j < 25 - strlen(c[i].vendor_name); j++) |
| 162 | printf(" "); |
| 163 | printf("%s", c[i].device_name); |
| 164 | for (j = 0; j < 25 - strlen(c[i].device_name); j++) |
| 165 | printf(" "); |
| 166 | printf("%04x:%04x%s\n", c[i].vendor_id, c[i].device_id, |
| 167 | (c[i].status == OK) ? "" : " (untested)"); |
| 168 | } |
| 169 | } |
| 170 | |
Uwe Hermann | e1aa75e | 2009-06-18 14:04:44 +0000 | [diff] [blame] | 171 | void print_supported_boards_helper(const struct board_info *b, const char *msg) |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 172 | { |
| 173 | int i, j, boardcount = 0; |
| 174 | |
| 175 | for (i = 0; b[i].vendor != NULL; i++) |
| 176 | boardcount++; |
| 177 | |
Uwe Hermann | e1aa75e | 2009-06-18 14:04:44 +0000 | [diff] [blame] | 178 | printf("\n%s (total: %d):\n\n", msg, boardcount); |
| 179 | |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 180 | for (i = 0; b[i].vendor != NULL; i++) { |
| 181 | printf("%s", b[i].vendor); |
| 182 | for (j = 0; j < 25 - strlen(b[i].vendor); j++) |
| 183 | printf(" "); |
| 184 | printf("%s", b[i].name); |
Uwe Hermann | 5714614 | 2009-09-25 01:22:42 +0000 | [diff] [blame] | 185 | for (j = 0; j < 28 - strlen(b[i].name); j++) |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 186 | printf(" "); |
| 187 | printf("\n"); |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | void print_supported_boards(void) |
| 192 | { |
| 193 | int i, j, boardcount = 0; |
| 194 | struct board_pciid_enable *b = board_pciid_enables; |
| 195 | |
| 196 | for (i = 0; b[i].vendor_name != NULL; i++) |
| 197 | boardcount++; |
| 198 | |
| 199 | printf("\nSupported boards which need write-enable code (total: %d):" |
Uwe Hermann | 5714614 | 2009-09-25 01:22:42 +0000 | [diff] [blame] | 200 | "\n\nVendor: Board: " |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 201 | "Required option:\n\n", boardcount); |
| 202 | |
| 203 | for (i = 0; b[i].vendor_name != NULL; i++) { |
| 204 | printf("%s", b[i].vendor_name); |
| 205 | for (j = 0; j < 25 - strlen(b[i].vendor_name); j++) |
| 206 | printf(" "); |
| 207 | printf("%s", b[i].board_name); |
Uwe Hermann | 5714614 | 2009-09-25 01:22:42 +0000 | [diff] [blame] | 208 | for (j = 0; j < 30 - strlen(b[i].board_name); j++) |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 209 | printf(" "); |
| 210 | if (b[i].lb_vendor != NULL) |
| 211 | printf("-m %s:%s\n", b[i].lb_vendor, b[i].lb_part); |
| 212 | else |
| 213 | printf("(none, board is autodetected)\n"); |
| 214 | } |
| 215 | |
Uwe Hermann | e1aa75e | 2009-06-18 14:04:44 +0000 | [diff] [blame] | 216 | print_supported_boards_helper(boards_ok, |
| 217 | "Supported boards which don't need write-enable code"); |
| 218 | print_supported_boards_helper(boards_bad, |
| 219 | "Boards which have been verified to NOT work yet"); |
| 220 | print_supported_boards_helper(laptops_ok, |
| 221 | "Laptops which have been verified to work"); |
| 222 | print_supported_boards_helper(laptops_bad, |
| 223 | "Laptops which have been verified to NOT work yet"); |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 224 | } |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 225 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 226 | |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 227 | void print_supported(void) |
| 228 | { |
| 229 | print_supported_chips(); |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 230 | #if INTERNAL_SUPPORT == 1 |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 231 | print_supported_chipsets(); |
| 232 | print_supported_boards(); |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 233 | #endif |
Adam Jurkowski | 516f932 | 2009-12-14 03:07:31 +0000 | [diff] [blame] | 234 | #if (NIC3COM_SUPPORT == 1) || (GFXNVIDIA_SUPPORT == 1) || (DRKAISER_SUPPORT == 1) || (SATASII_SUPPORT == 1) |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 235 | printf("\nSupported PCI devices flashrom can use " |
| 236 | "as programmer:\n\n"); |
Adam Jurkowski | 516f932 | 2009-12-14 03:07:31 +0000 | [diff] [blame] | 237 | #endif |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 238 | #if NIC3COM_SUPPORT == 1 |
| 239 | print_supported_pcidevs(nics_3com); |
| 240 | #endif |
| 241 | #if GFXNVIDIA_SUPPORT == 1 |
| 242 | print_supported_pcidevs(gfx_nvidia); |
| 243 | #endif |
| 244 | #if DRKAISER_SUPPORT == 1 |
| 245 | print_supported_pcidevs(drkaiser_pcidev); |
| 246 | #endif |
| 247 | #if SATASII_SUPPORT == 1 |
| 248 | print_supported_pcidevs(satas_sii); |
| 249 | #endif |
| 250 | } |
| 251 | |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 252 | |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 253 | #if INTERNAL_SUPPORT == 1 |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 254 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 255 | const struct board_info boards_ok[] = { |
| 256 | /* Verified working boards that don't need write-enables. */ |
| 257 | { "Abit", "AX8", }, |
| 258 | { "Abit", "Fatal1ty F-I90HD", }, |
| 259 | { "Advantech", "PCM-5820", }, |
| 260 | { "ASI", "MB-5BLMP", }, |
| 261 | { "ASRock", "A770CrossFire", }, |
Idwer Vollering | fcd070e | 2009-12-01 12:55:18 +0000 | [diff] [blame] | 262 | { "ASRock", "K8S8X", }, |
Zachary O Dillard | 9bd5eec | 2009-12-14 04:11:12 +0000 | [diff] [blame] | 263 | { "ASRock", "M3A790GXH/128M" }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 264 | { "ASUS", "A7N8X Deluxe", }, |
| 265 | { "ASUS", "A7N8X-E Deluxe", }, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 266 | { "ASUS", "A7V133", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 267 | { "ASUS", "A7V400-MX", }, |
| 268 | { "ASUS", "A7V8X-MX", }, |
Russ Dill | bd622d1 | 2010-03-09 16:57:06 +0000 | [diff] [blame] | 269 | { "ASUS", "A7V8X-X", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 270 | { "ASUS", "A8N-E", }, |
| 271 | { "ASUS", "A8NE-FM/S", }, |
| 272 | { "ASUS", "A8N-SLI", }, |
| 273 | { "ASUS", "A8N-SLI Premium", }, |
| 274 | { "ASUS", "A8V Deluxe", }, |
| 275 | { "ASUS", "A8V-E Deluxe", }, |
| 276 | { "ASUS", "A8V-E SE", }, |
Carl-Daniel Hailfinger | 964f274 | 2009-11-14 03:58:58 +0000 | [diff] [blame] | 277 | { "ASUS", "K8V", }, |
| 278 | { "ASUS", "K8V SE Deluxe", }, |
Idwer Vollering | fcd070e | 2009-12-01 12:55:18 +0000 | [diff] [blame] | 279 | { "ASUS", "K8V-X SE", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 280 | { "ASUS", "M2A-MX", }, |
| 281 | { "ASUS", "M2A-VM", }, |
| 282 | { "ASUS", "M2N-E", }, |
| 283 | { "ASUS", "M2V", }, |
| 284 | { "ASUS", "M3A78-EM", }, |
| 285 | { "ASUS", "P2B", }, |
| 286 | { "ASUS", "P2B-D", }, |
| 287 | { "ASUS", "P2B-DS", }, |
| 288 | { "ASUS", "P2B-F", }, |
| 289 | { "ASUS", "P2L97-S", }, |
| 290 | { "ASUS", "P5B-Deluxe", }, |
| 291 | { "ASUS", "P5KC", }, |
| 292 | { "ASUS", "P5L-MX", }, |
Michael Karcher | e06a9c8 | 2010-03-24 22:56:08 +0000 | [diff] [blame] | 293 | { "ASUS", "P6T Deluxe", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 294 | { "ASUS", "P6T Deluxe V2", }, |
| 295 | { "A-Trend", "ATC-6220", }, |
| 296 | { "BCOM", "WinNET100", }, |
Idwer Vollering | fcd070e | 2009-12-01 12:55:18 +0000 | [diff] [blame] | 297 | { "DFI", "Blood-Iron P35 T2RL", }, |
Carl-Daniel Hailfinger | 6a0269e | 2009-11-15 17:20:21 +0000 | [diff] [blame] | 298 | { "Elitegroup", "K7S5A", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 299 | { "Elitegroup", "P6VAP-A+", }, |
| 300 | { "GIGABYTE", "GA-6BXC", }, |
| 301 | { "GIGABYTE", "GA-6BXDU", }, |
| 302 | { "GIGABYTE", "GA-6ZMA", }, |
| 303 | { "GIGABYTE", "GA-7ZM", }, |
| 304 | { "GIGABYTE", "GA-EP35-DS3L", }, |
| 305 | { "GIGABYTE", "GA-EX58-UD4P", }, |
Raúl Soriano | 8111e7f | 2010-03-14 00:00:14 +0000 | [diff] [blame] | 306 | { "GIGABYTE", "GA-MA69VM-S2", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 307 | { "GIGABYTE", "GA-MA78GPM-DS2H", }, |
| 308 | { "GIGABYTE", "GA-MA790GP-DS4H", }, |
| 309 | { "GIGABYTE", "GA-MA770T-UD3P", }, |
| 310 | { "Intel", "EP80759", }, |
| 311 | { "Jetway", "J7F4K1G5D-PB", }, |
Uwe Hermann | 14b3e1e | 2009-10-06 20:23:29 +0000 | [diff] [blame] | 312 | { "MSI", "MS-6153", }, |
| 313 | { "MSI", "MS-6156", }, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 314 | { "MSI", "MS-6330 (K7T Turbo)", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 315 | { "MSI", "MS-6570 (K7N2)", }, |
| 316 | { "MSI", "MS-7065", }, |
| 317 | { "MSI", "MS-7168 (Orion)", }, |
| 318 | { "MSI", "MS-7236 (945PL Neo3)", }, |
| 319 | { "MSI", "MS-7255 (P4M890M)", }, |
| 320 | { "MSI", "MS-7345 (P35 Neo2-FIR)", }, |
| 321 | { "MSI", "MS-7368 (K9AG Neo2-Digital)", }, |
Michael Karcher | c85fa45 | 2010-03-24 22:56:19 +0000 | [diff] [blame] | 322 | { "MSI", "MS-7376 (K9A2 Platinum)", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 323 | { "NEC", "PowerMate 2000", }, |
| 324 | { "PC Engines", "Alix.1c", }, |
| 325 | { "PC Engines", "Alix.2c2", }, |
| 326 | { "PC Engines", "Alix.2c3", }, |
| 327 | { "PC Engines", "Alix.3c3", }, |
| 328 | { "PC Engines", "Alix.3d3", }, |
| 329 | { "RCA", "RM4100", }, |
Michael Karcher | c85fa45 | 2010-03-24 22:56:19 +0000 | [diff] [blame] | 330 | { "Shuttle", "FD37", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 331 | { "Sun", "Blade x6250", }, |
| 332 | { "Supermicro", "H8QC8", }, |
| 333 | { "Thomson", "IP1000", }, |
| 334 | { "TriGem", "Lomita", }, |
| 335 | { "T-Online", "S-100", }, |
| 336 | { "Tyan", "iS5375-1U", }, |
| 337 | { "Tyan", "S1846", }, |
| 338 | { "Tyan", "S2466", }, |
| 339 | { "Tyan", "S2881", }, |
| 340 | { "Tyan", "S2882", }, |
| 341 | { "Tyan", "S2882-D", }, |
| 342 | { "Tyan", "S2891", }, |
| 343 | { "Tyan", "S2892", }, |
| 344 | { "Tyan", "S2895", }, |
| 345 | { "Tyan", "S3095", }, |
| 346 | { "Tyan", "S5180", }, |
| 347 | { "Tyan", "S5191", }, |
| 348 | { "Tyan", "S5197", }, |
| 349 | { "Tyan", "S5211", }, |
| 350 | { "Tyan", "S5211-1U", }, |
| 351 | { "Tyan", "S5220", }, |
| 352 | { "Tyan", "S5375", }, |
| 353 | { "Tyan", "S5376G2NR/S5376WAG2NR", }, |
| 354 | { "Tyan", "S5377", }, |
| 355 | { "Tyan", "S5397", }, |
Luc Verhaegen | 73d2119 | 2009-12-23 00:54:26 +0000 | [diff] [blame] | 356 | { "VIA", "EPIA-CN", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 357 | { "VIA", "EPIA-EX15000G", }, |
| 358 | { "VIA", "EPIA-LN", }, |
| 359 | { "VIA", "EPIA-M700", }, |
| 360 | { "VIA", "EPIA-NX15000G", }, |
Luc Verhaegen | 73d2119 | 2009-12-23 00:54:26 +0000 | [diff] [blame] | 361 | { "VIA", "EPIA-SP", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 362 | { "VIA", "NAB74X0", }, |
| 363 | { "VIA", "pc2500e", }, |
| 364 | { "VIA", "VB700X", }, |
| 365 | |
| 366 | {}, |
| 367 | }; |
| 368 | |
| 369 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 370 | const struct board_info boards_bad[] = { |
| 371 | /* Verified non-working boards (for now). */ |
| 372 | { "Abit", "IS-10", }, |
| 373 | { "ASRock", "K7VT4A+", }, |
| 374 | { "ASUS", "MEW-AM", }, |
| 375 | { "ASUS", "MEW-VM", }, |
| 376 | { "ASUS", "P3B-F", }, |
| 377 | { "ASUS", "P5B", }, |
| 378 | { "ASUS", "P5BV-M", }, |
| 379 | { "Biostar", "M6TBA", }, |
| 380 | { "Boser", "HS-6637", }, |
| 381 | { "DFI", "855GME-MGF", }, |
| 382 | { "FIC", "VA-502", }, |
| 383 | { "MSI", "MS-6178", }, |
| 384 | { "MSI", "MS-7260 (K9N Neo)", }, |
| 385 | { "Soyo", "SY-5VD", }, |
| 386 | { "Sun", "Fire x4150", }, |
| 387 | { "Sun", "Fire x4200", }, |
| 388 | { "Sun", "Fire x4540", }, |
| 389 | { "Sun", "Fire x4600", }, |
| 390 | |
| 391 | {}, |
| 392 | }; |
| 393 | |
| 394 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 395 | const struct board_info laptops_ok[] = { |
| 396 | /* Verified working laptops. */ |
| 397 | { "Lenovo", "3000 V100 TF05Cxx", }, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame^] | 398 | { "Acer", "Aspire 1520", "http://support.acer.com/us/en/acerpanam/notebook/0000/Acer/Aspire1520/Aspire1520nv.shtml" }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 399 | |
| 400 | {}, |
| 401 | }; |
| 402 | |
| 403 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 404 | const struct board_info laptops_bad[] = { |
| 405 | /* Verified non-working laptops (for now). */ |
| 406 | { "Acer", "Aspire One", }, |
| 407 | { "ASUS", "Eee PC 701 4G", }, |
| 408 | { "Dell", "Latitude CPi A366XT", }, |
| 409 | { "HP/Compaq", "nx9010", }, |
| 410 | { "IBM/Lenovo", "Thinkpad T40p", }, |
| 411 | { "IBM/Lenovo", "240", }, |
| 412 | |
| 413 | {}, |
| 414 | }; |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 415 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 416 | |