diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2008-07-03 19:26:44 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2008-07-03 19:26:44 +0000 |
commit | d854963704c3dbcd54f75382d1c2ce03f565dc5d (patch) | |
tree | 064924e9d0d2ad3b90e31ff5ffd869bf941ae72f /layout.c | |
parent | 35e4e55b0b4c55bc4d563b2ee8c9a2b3957d4a50 (diff) | |
download | flashrom-d854963704c3dbcd54f75382d1c2ce03f565dc5d.tar.gz |
Original v2 revision: 3412
Minor cosmetics, e.g. make stuff fit in 80 chars/line etc. (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@296 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -50,9 +50,8 @@ int show_id(uint8_t *bios, int size, int force) walk--; if ((*walk) == 0 || ((*walk) & 0x3ff) != 0) { - /* We might have an Nvidia chipset bios - * which stores the id information at a - * different location. + /* We might have an NVIDIA chipset BIOS which stores the ID + * information at a different location. */ walk = (unsigned int *)(bios + size - 0x80); walk--; @@ -88,19 +87,17 @@ int show_id(uint8_t *bios, int size, int force) /* * If lb_vendor is not set, the coreboot table was - * not found. Nor was -mVENDOR:PART specified + * not found. Nor was -m VENDOR:PART specified. */ - if (!lb_vendor || !lb_part) { printf("Note: If the following flash access fails, " - "you might need to specify -m <vendor>:<mainboard>.\n"); + "try -m <vendor>:<mainboard>.\n"); return 0; } /* These comparisons are case insensitive to make things * a little less user^Werror prone. */ - if (!strcasecmp(mainboard_vendor, lb_vendor) && !strcasecmp(mainboard_part, lb_part)) { printf_debug("This firmware image matches " |