]> git.ozlabs.org Git - petitboot/commit
discover: Add petitboot,tty and track available consoles
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 8 Jun 2016 03:51:28 +0000 (13:51 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 29 Jun 2016 04:19:08 +0000 (14:19 +1000)
commitce54f866b2b9e48bab73acd73b4c05a057f9ddca
tree1c96e2ffcea00f5806262aba9e7ec95e6c8bed3f
parentd19b94a83870f7b2a41e55d7462bcf36d2b5ba0b
discover: Add petitboot,tty and track available consoles

Add the NVRAM parameter petitboot,tty which sets the default console to
use when booting a kernel.
In load_config() construct a list of available consoles depending on the
current platform. A future patch depending on firmware changes will
allow this list to be constructed dynamically.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/platform-powerpc.c
discover/platform.c