Changeset 3412

Show
Ignore:
Timestamp:
07/03/08 21:26:44 (3 months ago)
Author:
uwe
Message:

Minor cosmetics, e.g. make stuff fit in 80 chars/line etc. (trivial).

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

Location:
trunk/util/flashrom
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/util/flashrom/flashchips.c

    r3411 r3412  
    4242        {"Atmel",       "AT49F002(N)T",         ATMEL_ID,       AT_49F002NT,            256,    256,            TEST_UNTESTED,  probe_jedec,            erase_chip_jedec,               write_jedec}, 
    4343        {"Atmel",       "AT25DF321",            ATMEL_ID,       AT_25DF321,             4096,   256,            TEST_OK_PREW,   probe_spi_rdid,         spi_chip_erase_c7,      spi_chip_write, spi_chip_read}, 
    44         {"AMIC Technology","A25L40P",           AMIC_ID,        AMIC_A25L40P,           512,    256,            TEST_OK_PREW,   probe_spi_rdid4,        spi_chip_erase_c7,      spi_chip_write, spi_chip_read}, 
    45         {"AMIC Technology","A49LF040A",         AMIC_ID_NOPREFIX, AMIC_A49LF040A,       512,    64 * 1024,      TEST_OK_PREW,   probe_49fl00x,          erase_49fl00x,                  write_49fl00x}, 
    46         {"AMIC Technology","A29040B",           AMIC_ID_NOPREFIX, AMIC_A29040B,         512,    64 * 1024,      TEST_OK_PR,     probe_29f040b,          erase_29f040b,                  write_29f040b}, 
     44        {"AMIC",        "A25L40P",              AMIC_ID,        AMIC_A25L40P,           512,    256,            TEST_OK_PREW,   probe_spi_rdid4,        spi_chip_erase_c7,      spi_chip_write, spi_chip_read}, 
     45        {"AMIC",        "A49LF040A",            AMIC_ID_NOPREFIX, AMIC_A49LF040A,       512,    64 * 1024,      TEST_OK_PREW,   probe_49fl00x,          erase_49fl00x,                  write_49fl00x}, 
     46        {"AMIC",        "A29040B",              AMIC_ID_NOPREFIX, AMIC_A29040B,         512,    64 * 1024,      TEST_OK_PR,     probe_29f040b,          erase_29f040b,                  write_29f040b}, 
    4747        {"EMST",        "F49B002UA",            EMST_ID,        EMST_F49B002UA,         256,    4096,           TEST_UNTESTED,  probe_jedec,            erase_chip_jedec,               write_49f002}, 
    4848        {"EON",         "EN29F002(A)(N)B",      EON_ID,         EN_29F002B,             256,    256,            TEST_UNTESTED,  probe_jedec,            erase_chip_jedec,               write_jedec}, 
  • trunk/util/flashrom/layout.c

    r3408 r3412  
    5151 
    5252        if ((*walk) == 0 || ((*walk) & 0x3ff) != 0) { 
    53                 /* We might have an Nvidia chipset bios  
    54                  * which stores the id information at a  
    55                  * different location. 
     53                /* We might have an NVIDIA chipset BIOS which stores the ID 
     54                 * information at a different location. 
    5655                 */ 
    5756                walk = (unsigned int *)(bios + size - 0x80); 
     
    8988        /* 
    9089         * If lb_vendor is not set, the coreboot table was 
    91          * not found. Nor was -mVENDOR:PART specified 
     90         * not found. Nor was -m VENDOR:PART specified. 
    9291         */ 
    93  
    9492        if (!lb_vendor || !lb_part) { 
    9593                printf("Note: If the following flash access fails, " 
    96                        "you might need to specify -m <vendor>:<mainboard>.\n"); 
     94                       "try -m <vendor>:<mainboard>.\n"); 
    9795                return 0; 
    9896        } 
     
    10199         * a little less user^Werror prone.  
    102100         */ 
    103  
    104101        if (!strcasecmp(mainboard_vendor, lb_vendor) && 
    105102            !strcasecmp(mainboard_part, lb_part)) {