From aadf2b8b59adec05a84e4884ba76bc2ebc4d9b00 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 21 May 2015 14:54:18 -0500 Subject: consoles: remove unused infrastructure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The __console attribute as well as linker binding was dropped at some point. Kill of the dead code and infrastructure. Change-Id: I15e1fb4468fffe2e148ec9ac8539dfd958551807 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/10279 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/include/console/console.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/include/console') diff --git a/src/include/console/console.h b/src/include/console/console.h index dea5c690b5..d8e7ffe60a 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -34,12 +34,6 @@ struct console_driver { int (*tst_byte)(void); }; -#define __console __attribute__((used, __section__ (".rodata.console_drivers"))) - -/* Defined by the linker... */ -extern struct console_driver console_drivers[]; -extern struct console_driver econsole_drivers[]; - void post_code(u8 value); #if CONFIG_CMOS_POST_EXTRA void post_log_extra(u32 value); -- cgit v1.2.3