summaryrefslogtreecommitdiff
path: root/board_enable.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-01-04 22:54:07 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-01-04 22:54:07 +0000
commit4f76e2f91d69dae46c42155d65b80e1d0f2bbdfc (patch)
tree7ac561c734007cfe88577cdad895f87524e3184f /board_enable.c
parentfc2c3133fbb24b2e770c6f3bea0a850272a70bbe (diff)
downloadflashrom-4f76e2f91d69dae46c42155d65b80e1d0f2bbdfc.tar.gz
Introduce msg_*warn.
Also, unify all outputs of "Warning:" and "Error:" to use normal capitalization instead of mixing it with all capitals. Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Acked-by: Idwer Vollering <vidwer@gmail.com> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1643 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/board_enable.c b/board_enable.c
index b6834e0..72e0f81 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -546,7 +546,7 @@ void w83697xx_memw_enable(uint16_t port)
sio_mask(port, 0x24, 0x28, 0x38);
} else {
- msg_perr("WARNING: Flash interface in use by GPIO!\n");
+ msg_pwarn("Warning: Flash interface in use by GPIO!\n");
}
} else {
msg_pinfo("BIOS ROM is disabled\n");
@@ -2556,8 +2556,8 @@ const static struct board_match *board_match_pci_ids(enum board_match_phase phas
if (board->dmi_pattern) {
if (!has_dmi_support) {
- msg_perr("WARNING: Can't autodetect %s %s, DMI info unavailable.\n",
- board->vendor_name, board->board_name);
+ msg_pwarn("Warning: Can't autodetect %s %s, DMI info unavailable.\n",
+ board->vendor_name, board->board_name);
msg_pinfo("Please supply the board vendor and model name with the "
"-p internal:mainboard=<vendor>:<model> option.\n");
continue;
@@ -2582,14 +2582,14 @@ static int board_enable_safetycheck(const struct board_match *board)
return 0;
if (!force_boardenable) {
- msg_pinfo("WARNING: The mainboard-specific code for %s %s has not been tested,\n"
+ msg_pwarn("Warning: The mainboard-specific code for %s %s has not been tested,\n"
"and thus will not be executed by default. Depending on your hardware,\n"
"erasing, writing or even probing can fail without running this code.\n\n"
"Please see the man page (section PROGRAMMER SPECIFIC INFO, subsection\n"
"\"internal programmer\") for details.\n", board->vendor_name, board->board_name);
return 1;
}
- msg_pinfo("NOTE: Running an untested board enable procedure.\n"
+ msg_pwarn("NOTE: Running an untested board enable procedure.\n"
"Please report success/failure to flashrom@flashrom.org.\n");
return 0;
}