]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
Add initial dtb support
[petitboot] / lib / types / types.h
index 90b23c37a77446d0cda4b531869c6dee31eed343..9fed7aaaba65d3a5948d248c6482299197cde3e9 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _TYPES_H
 #define _TYPES_H
 
+#include <stdbool.h>
 #include <list/list.h>
 
 struct device {
@@ -23,7 +24,9 @@ struct boot_option {
        char            *icon_file;
        char            *boot_image_file;
        char            *initrd_file;
+       char            *dtb_file;
        char            *boot_args;
+       bool            is_default;
 
        struct list_item        list;
 
@@ -34,6 +37,7 @@ struct boot_command {
        char *option_id;
        char *boot_image_file;
        char *initrd_file;
+       char *dtb_file;
        char *boot_args;
 };