diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-12-21 15:52:27 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-04 17:15:34 +1100 |
commit | 4005c1c7215364a4b53d5304d3b5afd44f5e17a7 (patch) | |
tree | 1b482567b2d3300c142f8fd74f3af3766dd3d5ce /platforms/mambo/mambo.c | |
parent | 8b00ce79a32f9a7dedd392f8a64a672fcbd8d1e0 (diff) | |
download | skiboot-4005c1c7215364a4b53d5304d3b5afd44f5e17a7.zip skiboot-4005c1c7215364a4b53d5304d3b5afd44f5e17a7.tar.gz skiboot-4005c1c7215364a4b53d5304d3b5afd44f5e17a7.tar.bz2 |
console: move mambo con_ops into the platform
There's no need for this to be in the skiboot core console code. Also do
a few cleanups while we're shovling code around.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/mambo/mambo.c')
-rw-r--r-- | platforms/mambo/mambo.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/platforms/mambo/mambo.c b/platforms/mambo/mambo.c index 659d1ba..cc5cbf9 100644 --- a/platforms/mambo/mambo.c +++ b/platforms/mambo/mambo.c @@ -211,16 +211,6 @@ static void mambo_rtc_init(void) opal_register(OPAL_RTC_READ, mambo_rtc_read, 2); } -int mambo_console_read(void) -{ - return callthru0(SIM_READ_CONSOLE_CODE); -} - -void mambo_console_write(const char *buf, size_t count) -{ - callthru2(SIM_WRITE_CONSOLE_CODE, (unsigned long)buf, count); -} - static void mambo_platform_init(void) { force_dummy_console(); |