[Skiboot] OPAL console rework v3

Oliver O'Halloran oohall at gmail.com
Wed Dec 21 15:52:22 AEDT 2016

Patches 1-6 are misc cleanups of core/console.c

Patches 7-10 untangle the OPAL and skiboot consoles by removing the flush
operation from the skiboot con_ops structure and reworking the console
init path so the platform init code doesn't need to awkwardly step around
the dummy console forcing.

Hopefully these will make the console handling inside of skiboot a little
more approachable. In the future I'd like to further rework parts of it so
that most of the paramter validation for the OPAL_CONSOLE_* calls can be
handled in generic code rather than being repeated inside each OPAL console
backend, but this series is mostly cleanups to prepare for that.

Changes in v2:
        mambo.h got lost when moving in v1 which made it hard to compile
        some whitespaces fixes to make `git am' happy

Changes in v3:
	Addressed various comments and minor issues found by Andrew
	Reworked the last part of the series to fix a bisect breakage

More information about the Skiboot mailing list