aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/die.c3
-rw-r--r--src/console/post.c7
2 files changed, 0 insertions, 10 deletions
diff --git a/src/console/die.c b/src/console/die.c
index 76c456d1fb..e57c4e4bf2 100644
--- a/src/console/die.c
+++ b/src/console/die.c
@@ -15,8 +15,6 @@
#include <console/console.h>
#include <halt.h>
-#ifndef __ROMCC__
-
/*
* The method should be overwritten in mainboard directory to signal that a
* fatal error had occurred. On boards that do share the same EC and where the
@@ -39,4 +37,3 @@ void __noreturn die(const char *fmt, ...)
die_notify();
halt();
}
-#endif
diff --git a/src/console/post.c b/src/console/post.c
index 64aa2a5513..8c28ceb672 100644
--- a/src/console/post.c
+++ b/src/console/post.c
@@ -24,8 +24,6 @@
/* Write POST information */
-/* someday romcc will be gone. */
-#ifndef __ROMCC__
/* Some mainboards have very nice features beyond just a simple display.
* They can override this function.
*/
@@ -33,11 +31,6 @@ void __weak mainboard_post(uint8_t value)
{
}
-#else
-/* This just keeps the number of #ifs to a minimum */
-#define mainboard_post(x)
-#endif
-
#if CONFIG(CMOS_POST)
DECLARE_SPIN_LOCK(cmos_post_lock)