diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-08 22:54:20 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-15 13:37:19 +1000 |
commit | 223c49ecbca267aae228132bad360fe09ce2f8a6 (patch) | |
tree | e6bf0de9f2b71a750e569037481e8a1b845ff2fb /core/init.c | |
parent | 385a6903d5f7a938f01e579071a43dc7decd199d (diff) | |
download | talos-skiboot-223c49ecbca267aae228132bad360fe09ce2f8a6.tar.gz talos-skiboot-223c49ecbca267aae228132bad360fe09ce2f8a6.zip |
core: Move enable_mambo_console() into chip initialisation
Rather than having a wart in main_cpu_entry() that initialises the mambo
console, we can move it into init_chips() which is where we discover that we're
on mambo.
This also means we don't need to check the quirk again, and has the added bonus
that an assert in chip initialisation (which follows immediately) will actually
produce output.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
[stewart@linux.vnet.ibm.com: fix make check by adding no-op stub]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/init.c')
-rw-r--r-- | core/init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/init.c b/core/init.c index 8bd737a5..59c77543 100644 --- a/core/init.c +++ b/core/init.c @@ -869,12 +869,6 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) */ init_chips(); - /* If we detect the mambo simulator, we can enable its special console - * early on. Do that now. - */ - if (chip_quirk(QUIRK_MAMBO_CALLOUTS)) - enable_mambo_console(); - xscom_init(); mfsi_init(); |