]> git.ozlabs.org Git - petitboot/commitdiff
lib: Define autoboot_options, device_type helpers
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 15 Dec 2014 03:57:35 +0000 (14:57 +1100)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Tue, 5 May 2015 05:02:43 +0000 (15:02 +1000)
Add the new autoboot_option struct, and helper functions for working
with device_type enums. device_type_name() returns exact strings as used
by platform code to read/write nvram params, so
device_type_display_name() is added for use in user-visible strings.

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>

No differences found