]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/discover-client.h
Add initial dtb support
[petitboot] / ui / common / discover-client.h
index 2245a65141330883383af48f9e448fa4e4a0e256..ed1f504c4e59904ecbcd9d8ac5685b7b7b757e44 100644 (file)
@@ -9,6 +9,7 @@ struct discover_client;
 struct pb_boot_data {
        char *image;
        char *initrd;
+       char *dtb;
        char *args;
 };
 
@@ -59,4 +60,8 @@ int discover_client_boot(struct discover_client *client,
                const struct device *device,
                const struct boot_option *boot_option,
                const struct pb_boot_data *data);
+
+/* Tell the discover server to cancel the default boot option, if any
+ */
+int discover_client_cancel_default(struct discover_client *client);
 #endif