summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-28 16:05:08 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 03:25:05 +0000
commit1cb9cd5798966bf026e5f1ef3abf7642fa1bc41b (patch)
tree096daea96736744fef239ec85a766777647119d8 /src/console
parent4f66cb9b2867bcdeb47df9fe76e8893d53f85fb8 (diff)
downloadcoreboot-1cb9cd5798966bf026e5f1ef3abf7642fa1bc41b.tar.xz
Drop ROMCC code and header guards
Change-Id: I730f80afd8aad250f26534435aec24bea75a849c Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37334 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
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)