Changeset 985
- Timestamp:
- 03/26/10 00:18:41 (23 months ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
README (modified) (1 diff)
-
board_enable.c (modified) (16 diffs)
-
coreboot_tables.h (modified) (3 diffs)
-
flashchips.c (modified) (1 diff)
-
flashrom.8 (modified) (2 diffs)
-
ichspi.c (modified) (1 diff)
-
jedec.c (modified) (1 diff)
-
serprog-protocol.txt (modified) (2 diffs)
-
serprog.c (modified) (4 diffs)
-
stm50flw0x0x.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r963 r985 122 122 #flashrom at irc.freenode.net 123 123 124 The Mailing list addess is124 The mailing list address is 125 125 126 126 flashrom@flashrom.org -
trunk/board_enable.c
r983 r985 342 342 343 343 /** 344 * Suited for A susM2V-MX: VIA K8M890 + VT8237A + IT8716F344 * Suited for ASUS M2V-MX: VIA K8M890 + VT8237A + IT8716F 345 345 */ 346 346 static int via_vt823x_gpio5_raise(const char *name) … … 351 351 352 352 /** 353 * Suited for VIA sEPIA N & NL.353 * Suited for VIA EPIA N & NL. 354 354 */ 355 355 static int via_vt823x_gpio9_raise(const char *name) … … 359 359 360 360 /** 361 * Suited for VIA sEPIA M and MII, and maybe other CLE266 based EPIAs.361 * Suited for VIA EPIA M and MII, and maybe other CLE266 based EPIAs. 362 362 * 363 363 * We don't need to do this for EPIA M when using coreboot, GPIO15 is never … … 485 485 486 486 /** 487 * Suited for Shuttle FN25 (SN25P): AMD S939 + N vidiaCK804 (nForce4).487 * Suited for Shuttle FN25 (SN25P): AMD S939 + NVIDIA CK804 (nForce4). 488 488 */ 489 489 static int board_shuttle_fn25(const char *name) … … 533 533 default: 534 534 fprintf(stderr, 535 "\nERROR: no nVidiaLPC/SMBus controller found.\n");535 "\nERROR: no NVIDIA LPC/SMBus controller found.\n"); 536 536 return -1; 537 537 } … … 554 554 /** 555 555 * Suited for ASUS A8N-LA: nVidia MCP51. 556 * Suited for ASUS M2NBP-VM CSM: nVidiaMCP51.556 * Suited for ASUS M2NBP-VM CSM: NVIDIA MCP51. 557 557 */ 558 558 static int nvidia_mcp_gpio0_raise(const char *name) … … 570 570 571 571 /** 572 * Suited for MSI K8N Neo4: nVidiaCK804.573 * Suited for MSI K8N GM2-L: nVidiaMCP51.572 * Suited for MSI K8N Neo4: NVIDIA CK804. 573 * Suited for MSI K8N GM2-L: NVIDIA MCP51. 574 574 */ 575 575 static int nvidia_mcp_gpio2_raise(const char *name) … … 644 644 645 645 /** 646 * Helper function to raise/drop a given gpo line on intel PIIX4{,E,M}646 * Helper function to raise/drop a given gpo line on Intel PIIX4{,E,M}. 647 647 */ 648 648 static int intel_piix4_gpo_set(unsigned int gpo, int raise) … … 732 732 733 733 /** 734 * Set a GPIO line on a given intel ICH LPC controller.734 * Set a GPIO line on a given Intel ICH LPC controller. 735 735 */ 736 736 static int intel_ich_gpio_set(int gpio, int raise) 737 737 { 738 /* table mapping the different intel ICH LPC chipsets. */738 /* Table mapping the different Intel ICH LPC chipsets. */ 739 739 static struct { 740 740 uint16_t id; … … 802 802 } 803 803 804 /* According to the datasheets, all intel ICHs have the gpiobar 5:1805 strapped to zero. From some mobile ich9 version on, this becomes804 /* According to the datasheets, all Intel ICHs have the GPIO bar 5:1 805 strapped to zero. From some mobile ICH9 version on, this becomes 806 806 6:1. The mask below catches all. */ 807 807 base = pci_read_word(dev, intel_ich_gpio_table[i].base_reg) & 0xFFC0; … … 950 950 /** 951 951 * Suited for: 952 * - A susP4B266LM (Sony Vaio PCV-RX650): socket478 + 845D + ICH2.953 * - A susP4C800-E Deluxe: socket478 + 875P + ICH5.954 * - A susP4P800-E Deluxe: Intel socket478 + 865PE + ICH5R.952 * - ASUS P4B266LM (Sony Vaio PCV-RX650): socket478 + 845D + ICH2. 953 * - ASUS P4C800-E Deluxe: socket478 + 875P + ICH5. 954 * - ASUS P4P800-E Deluxe: Intel socket478 + 865PE + ICH5R. 955 955 */ 956 956 static int intel_ich_gpio21_raise(const char *name) … … 961 961 /** 962 962 * Suited for: 963 * - A sus P4B266: socket478 + intel 845D + ICH2.964 * - A susP4B533-E: socket478 + 845E + ICH4965 * - A susP4B-MX variant in HP Vectra VL420 SFF: socket478 + 845D + ICH2963 * - ASUS P4B266: socket478 + Intel 845D + ICH2. 964 * - ASUS P4B533-E: socket478 + 845E + ICH4 965 * - ASUS P4B-MX variant in HP Vectra VL420 SFF: socket478 + 845D + ICH2 966 966 */ 967 967 static int intel_ich_gpio22_raise(const char *name) … … 987 987 /** 988 988 * Suited for: 989 * - Dell Power edge 1850: Intel PPGA604 + E7520 + ICH5R.989 * - Dell PowerEdge 1850: Intel PPGA604 + E7520 + ICH5R. 990 990 * - ASRock P4i65GV: Intel Socket478 + 865GV + ICH5R. 991 991 */ … … 1198 1198 1199 1199 /** 1200 * Suited for A susA7V8X: VIA KT400 + VT8235 + IT8703F-A1200 * Suited for ASUS A7V8X: VIA KT400 + VT8235 + IT8703F-A 1201 1201 */ 1202 1202 static int board_asus_a7v8x(const char *name) … … 1292 1292 /** 1293 1293 * Suited for: 1294 * - A susA7V600-X: VIA KT600 + VT8237 + IT8712F1295 * - A susA7V8X-X: VIA KT400 + VT8235 + IT8712F1294 * - ASUS A7V600-X: VIA KT600 + VT8237 + IT8712F 1295 * - ASUS A7V8X-X: VIA KT400 + VT8235 + IT8712F 1296 1296 */ 1297 1297 static int it8712f_gpio3_1_raise(const char *name) … … 1320 1320 * If PCI IDs are not sufficient for board matching, the match can be further 1321 1321 * constrained by a string that has to be present in the DMI database for 1322 * the baseboard or the system entry. The pattern is matched by case sensit ve1322 * the baseboard or the system entry. The pattern is matched by case sensitive 1323 1323 * substring match, unless it is anchored to the beginning (with a ^ in front) 1324 1324 * or the end (with a $ at the end). Both anchors may be specified at the -
trunk/coreboot_tables.h
r586 r985 28 28 * from the firmware to the loaded OS image. Primarily this 29 29 * is expected to be information that cannot be discovered by 30 * other means, such as quer ing the hardware directly.30 * other means, such as querying the hardware directly. 31 31 * 32 32 * All of the information should be Position Independent Data. 33 33 * That is it should be safe to relocated any of the information 34 * without it's meaning/correctnes changing. For table that34 * without it's meaning/correctness changing. For table that 35 35 * can reasonably be used on multiple architectures the data 36 36 * size should be fixed. This should ease the transition between … … 49 49 * long term compatibility burden as table entries which are 50 50 * irrelevant or have been replaced by better alternatives may be 51 * dropped. Of course it is polite and exp idite to include extra51 * dropped. Of course it is polite and expedite to include extra 52 52 * table entries and be backwards compatible, but it is not required. 53 53 */ … … 79 79 }; 80 80 81 /* Every entry in the boot enviro ment list will correspond to a boot81 /* Every entry in the boot environment list will correspond to a boot 82 82 * info record. Encoding both type and size. The type is obviously 83 83 * so you can tell what it is. The size allows you to skip that 84 * boot enviro ment record if you don't know what it easy. This allows84 * boot environment record if you don't know what it easy. This allows 85 85 * forward compatibility with records not yet defined. 86 86 */ -
trunk/flashchips.c
r984 r985 1134 1134 1135 1135 /* The next two chip definitions have top/bottom boot blocks, but has no 1136 device differen ciation between the two */1136 device differentiation between the two */ 1137 1137 { 1138 1138 .vendor = "AMIC", -
trunk/flashrom.8
r983 r985 175 175 .SH PROGRAMMER SPECIFIC INFO 176 176 Some programmer drivers accept further parameters to set programmer-specific 177 parameters. These parameters are sep erated from the programmer name by a177 parameters. These parameters are separated from the programmer name by a 178 178 colon. While some programmers take arguments at fixed positions, other 179 179 programmers use a key/value interface in which the key and value is separated … … 299 299 .TP 300 300 .BR "buspiratespi " programmer 301 A required dev parameter specif yies the Bus Pirate device node and an optional302 spispeed parameter specif yies the frequency of the SPI bus. The parameter301 A required dev parameter specifies the Bus Pirate device node and an optional 302 spispeed parameter specifies the frequency of the SPI bus. The parameter 303 303 delimiter is a comma. Syntax is 304 304 .sp -
trunk/ichspi.c
r914 r985 537 537 /* clear error status registers */ 538 538 temp32 |= (SSFS_CDS + SSFS_FCERR); 539 /* U SE 20 MhZ*/539 /* Use 20 MHz */ 540 540 temp32 |= SSFC_SCF_20MHZ; 541 541 -
trunk/jedec.c
r982 r985 346 346 347 347 retry: 348 /* Issue JEDEC Start Program com and */348 /* Issue JEDEC Start Program command */ 349 349 start_program_jedec_common(flash, mask); 350 350 -
trunk/serprog-protocol.txt
r656 r985 47 47 cmd 8 support: byte 1 bit 0, and so on. 48 48 0x04 (Q_SERBUF): 49 If the programmer has guaranteedlyworking flow control,49 If the programmer has a guaranteed working flow control, 50 50 it should return a big bogus value - eg 0xFFFF. 51 51 0x05 (Q_BUSTYPE): … … 54 54 0x06 (Q_CHIPSIZE): 55 55 Only applicable to parallel programmers. 56 An LPC/F HW/SPI-programmer can report this as not supported in the command bitmap.56 An LPC/FWH/SPI-programmer can report this as not supported in the command bitmap. 57 57 0x08 (Q_WRNMAXLEN): 58 58 If a programmer reports a bigger maximum write-n length than the serial buffer size, -
trunk/serprog.c
r853 r985 67 67 static uint8_t sp_cmdmap[32]; 68 68 69 /* sp_prev_was_write used to detect writes with conti nouous addresses69 /* sp_prev_was_write used to detect writes with contiguous addresses 70 70 and combine them to write-n's */ 71 71 static int sp_prev_was_write = 0; … … 139 139 } 140 140 141 /* Synchronize: a bit tricky algor hytm that tries to (and in my tests has *141 /* Synchronize: a bit tricky algorithm that tries to (and in my tests has * 142 142 * always succeeded in) bring the serial protocol to known waiting-for- * 143 143 * command state - uses nonblocking read - rest of the driver uses * … … 535 535 sp_execute_opbuf(); 536 536 /* If this happens in the mid of an page load the page load * 537 * will pro pably fail. */537 * will probably fail. */ 538 538 msg_pdbg(MSGHEADER "Warning: executed operation buffer due to size reasons\n"); 539 539 } … … 590 590 } 591 591 592 /* Local version that really does the job, doesn t care of max_read_n. */592 /* Local version that really does the job, doesn't care of max_read_n. */ 593 593 static void sp_do_read_n(uint8_t * buf, const chipaddr addr, size_t len) 594 594 { -
trunk/stm50flw0x0x.c
r982 r985 50 50 * of chip. 51 51 * 52 * Sometimes, the BIOS does this for you; so you pro pably52 * Sometimes, the BIOS does this for you; so you probably 53 53 * don't need to worry about that. 54 54 */
Note: See TracChangeset
for help on using the changeset viewer.
