summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-04-22 16:23:47 +0000
committerStefan Reinauer <stepan@openbios.org>2009-04-22 16:23:47 +0000
commitf96c2d96a87a7da6c843242d210720383d73fcbe (patch)
tree9a2101b985470ac25aa788a842696474fe41272b /src/console
parent7faa7d6bde8693cdf089c869d6929f9b261548bd (diff)
downloadcoreboot-f96c2d96a87a7da6c843242d210720383d73fcbe.tar.xz
fix warnings, shadowed declarations and style guide violations (all trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4179 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console')
-rw-r--r--src/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 86ec26d312..aeccc14433 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -83,7 +83,7 @@ int console_tst_byte(void)
*/
void post_code(uint8_t value)
{
-#if NO_POST==0
+#if !defined(NO_POST) || NO_POST==0
#if CONFIG_SERIAL_POST==1
printk_emerg("POST: 0x%02x\n", value);
#endif