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 /hdata/test | |
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 'hdata/test')
-rw-r--r-- | hdata/test/stubs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c index b53703f1..cb166f97 100644 --- a/hdata/test/stubs.c +++ b/hdata/test/stubs.c @@ -116,4 +116,5 @@ NOOP_STUB(early_uart_init); NOOP_STUB(mem_reserve_fw); NOOP_STUB(mem_reserve_hwbuf); NOOP_STUB(add_chip_dev_associativity); +NOOP_STUB(enable_mambo_console); |