]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.h
lib/pb-config: Add autoboot timeout to configuration vars
[petitboot] / discover / device-handler.h
index 7182f002a203364a937c10ce6d984f943798ffce..0cd9c595fb535058e21da4a90fa4906de26fe7b8 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <list/list.h>
 
-#define DEFAULT_BOOT_TIMEOUT_SEC       10
-
 struct device_handler;
 struct discover_device;
 struct discover_server;
@@ -46,6 +44,7 @@ struct discover_boot_option {
 
        struct resource         *boot_image;
        struct resource         *initrd;
+       struct resource         *dtb;
        struct resource         *icon;
 };
 
@@ -90,5 +89,6 @@ struct discover_device *device_lookup_by_id(struct device_handler *handler,
 
 void device_handler_boot(struct device_handler *handler,
                struct boot_command *cmd);
+void device_handler_cancel_default(struct device_handler *handler);
 
 #endif /* _DEVICE_HANDLER_H */