summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2016-12-21 15:52:32 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-04 17:15:57 +1100
commit366c3936a9e9b458cf30c386208ec7ecf084c3f3 (patch)
treedc9b29d6b47e1eb0f67cce3a841b73c9ff6cfdb9 /core
parent3873e455af0d1f13b476d897515720e4ba114669 (diff)
downloadblackbird-skiboot-366c3936a9e9b458cf30c386208ec7ecf084c3f3.tar.gz
blackbird-skiboot-366c3936a9e9b458cf30c386208ec7ecf084c3f3.zip
console: remove force_dummy_console()
force_dummy_console() was only ever used to ensure the dummy console would be initialised when the platform did not setup it's usual console. The new console init path will uses the dummy console by default so this is now unnecessary. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/console.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/core/console.c b/core/console.c
index 1f055bf4..309249e4 100644
--- a/core/console.c
+++ b/core/console.c
@@ -49,7 +49,7 @@ struct memcons memcons __section(".data.memcons") = {
.ibuf_size = INMEM_CON_IN_LEN,
};
-bool dummy_console_enabled(void)
+static bool dummy_console_enabled(void)
{
#ifdef FORCE_DUMMY_CONSOLE
return true;
@@ -59,13 +59,6 @@ bool dummy_console_enabled(void)
#endif
}
-void force_dummy_console(void)
-{
- if (!dummy_console_enabled())
- dt_add_property(dt_chosen, "sapphire,enable-dummy-console",
- NULL, 0);
-}
-
/*
* Helper function for adding /ibm,opal/consoles/serial@<xyz> nodes
*/
OpenPOWER on IntegriCloud