summaryrefslogtreecommitdiff
path: root/src/include/console/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/console/console.h')
-rw-r--r--src/include/console/console.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index b2811e4547..004ff44bca 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -149,6 +149,7 @@ int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf,
#define print_info_hex32(HEX) printk(BIOS_INFO, "%08x", (HEX))
#define print_debug_hex32(HEX) printk(BIOS_DEBUG, "%08x", (HEX))
#define print_spew_hex32(HEX) printk(BIOS_SPEW, "%08x", (HEX))
+
#else
/* __ROMCC__ */
@@ -357,9 +358,6 @@ static void print_spew(const char *str) { __console_tx_string(BIOS_SPEW, str); }
#define print_spew_hex32(HEX) __console_tx_hex32(BIOS_SPEW, HEX)
#endif
-#endif
-
-#ifdef __ROMCC__
/* if included by romcc, include the sources, too. romcc can't use prototypes */
#include <console/console.c>
#include <console/post.c>