From 6c8866cd845e2cab5af144a81898b521768e830a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 3 Jul 2008 19:26:44 +0000 Subject: Minor cosmetics, e.g Make stuff fit in 80 chars/line etc. Corresponding to flashrom svn r296 and coreboot v2 svn r3412. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann --- layout.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index f41e0ea..aa7aee2 100644 --- a/layout.c +++ b/layout.c @@ -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 :.\n"); + "try -m :.\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 " -- cgit v1.1