Changeset 985 for trunk/board_enable.c


Ignore:
Timestamp:
03/26/10 00:18:41 (2 years ago)
Author:
uwe
Message:

Polish the flashrom code comments and outputs a bit.

  • Fix a number of typos (found via ispell).
  • Use correct vendor names (as per their websites) consistently.

Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/board_enable.c

    r983 r985  
    342342 
    343343/** 
    344  * Suited for Asus M2V-MX: VIA K8M890 + VT8237A + IT8716F 
     344 * Suited for ASUS M2V-MX: VIA K8M890 + VT8237A + IT8716F 
    345345 */ 
    346346static int via_vt823x_gpio5_raise(const char *name) 
     
    351351 
    352352/** 
    353  * Suited for VIAs EPIA N & NL. 
     353 * Suited for VIA EPIA N & NL. 
    354354 */ 
    355355static int via_vt823x_gpio9_raise(const char *name) 
     
    359359 
    360360/** 
    361  * Suited for VIAs EPIA M and MII, and maybe other CLE266 based EPIAs. 
     361 * Suited for VIA EPIA M and MII, and maybe other CLE266 based EPIAs. 
    362362 * 
    363363 * We don't need to do this for EPIA M when using coreboot, GPIO15 is never 
     
    485485 
    486486/** 
    487  * Suited for Shuttle FN25 (SN25P): AMD S939 + Nvidia CK804 (nForce4). 
     487 * Suited for Shuttle FN25 (SN25P): AMD S939 + NVIDIA CK804 (nForce4). 
    488488 */ 
    489489static int board_shuttle_fn25(const char *name) 
     
    533533            default: 
    534534                fprintf(stderr, 
    535                         "\nERROR: no nVidia LPC/SMBus controller found.\n"); 
     535                        "\nERROR: no NVIDIA LPC/SMBus controller found.\n"); 
    536536                return -1; 
    537537            } 
     
    554554/** 
    555555 * Suited for ASUS A8N-LA: nVidia MCP51. 
    556  * Suited for ASUS M2NBP-VM CSM: nVidia MCP51. 
     556 * Suited for ASUS M2NBP-VM CSM: NVIDIA MCP51. 
    557557 */ 
    558558static int nvidia_mcp_gpio0_raise(const char *name) 
     
    570570 
    571571/** 
    572  * Suited for MSI K8N Neo4: nVidia CK804. 
    573  * Suited for MSI K8N GM2-L: nVidia MCP51. 
     572 * Suited for MSI K8N Neo4: NVIDIA CK804. 
     573 * Suited for MSI K8N GM2-L: NVIDIA MCP51. 
    574574 */ 
    575575static int nvidia_mcp_gpio2_raise(const char *name) 
     
    644644 
    645645/** 
    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}. 
    647647 */ 
    648648static int intel_piix4_gpo_set(unsigned int gpo, int raise) 
     
    732732 
    733733/** 
    734  * Set a GPIO line on a given intel ICH LPC controller. 
     734 * Set a GPIO line on a given Intel ICH LPC controller. 
    735735 */ 
    736736static int intel_ich_gpio_set(int gpio, int raise) 
    737737{ 
    738         /* table mapping the different intel ICH LPC chipsets. */ 
     738        /* Table mapping the different Intel ICH LPC chipsets. */ 
    739739        static struct { 
    740740                uint16_t id; 
     
    802802        } 
    803803 
    804         /* 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 
     804        /* 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 
    806806           6:1. The mask below catches all. */ 
    807807        base = pci_read_word(dev, intel_ich_gpio_table[i].base_reg) & 0xFFC0; 
     
    950950/** 
    951951 * Suited for: 
    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. 
     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. 
    955955 */ 
    956956static int intel_ich_gpio21_raise(const char *name) 
     
    961961/** 
    962962 * Suited for: 
    963  *  - 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 
     963 *  - 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 
    966966 */ 
    967967static int intel_ich_gpio22_raise(const char *name) 
     
    987987/** 
    988988 * Suited for: 
    989  * - Dell Poweredge 1850: Intel PPGA604 + E7520 + ICH5R. 
     989 * - Dell PowerEdge 1850: Intel PPGA604 + E7520 + ICH5R. 
    990990 * - ASRock P4i65GV: Intel Socket478 + 865GV + ICH5R. 
    991991 */ 
     
    11981198 
    11991199/** 
    1200  * Suited for Asus A7V8X: VIA KT400 + VT8235 + IT8703F-A 
     1200 * Suited for ASUS A7V8X: VIA KT400 + VT8235 + IT8703F-A 
    12011201 */ 
    12021202static int board_asus_a7v8x(const char *name) 
     
    12921292/** 
    12931293 * Suited for: 
    1294  * - Asus A7V600-X: VIA KT600 + VT8237 + IT8712F 
    1295  * - Asus A7V8X-X: VIA KT400 + VT8235 + IT8712F 
     1294 * - ASUS A7V600-X: VIA KT600 + VT8237 + IT8712F 
     1295 * - ASUS A7V8X-X: VIA KT400 + VT8235 + IT8712F 
    12961296 */ 
    12971297static int it8712f_gpio3_1_raise(const char *name) 
     
    13201320 * If PCI IDs are not sufficient for board matching, the match can be further 
    13211321 * 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 sensitve 
     1322 * the baseboard or the system entry. The pattern is matched by case sensitive 
    13231323 * substring match, unless it is anchored to the beginning (with a ^ in front) 
    13241324 * or the end (with a $ at the end). Both anchors may be specified at the 
Note: See TracChangeset for help on using the changeset viewer.