]> git.sur5r.net Git - u-boot/blobdiff - include/efi_loader.h
arm: mvebu: clearfog: update SPI flash DT description
[u-boot] / include / efi_loader.h
index 90db7900014621477bb786be19821efef3e599ca..1b92edbd77c2a888560f26a87cbe250aa475ec4a 100644 (file)
@@ -136,8 +136,8 @@ struct efi_object {
  * @nofify_function:   Function to call when the event is triggered
  * @notify_context:    Data to be passed to the notify function
  * @trigger_type:      Type of timer, see efi_set_timer
- * @queued:            The notification functionis queued
- * @signaled:          The event occured
+ * @queued:            The notification function is queued
+ * @signaled:          The event occurred. The event is in the signaled state.
  */
 struct efi_event {
        uint32_t type;
@@ -147,8 +147,8 @@ struct efi_event {
        u64 trigger_next;
        u64 trigger_time;
        enum efi_timer_delay trigger_type;
-       int queued;
-       int signaled;
+       bool is_queued;
+       bool is_signaled;
 };
 
 
@@ -259,6 +259,9 @@ struct efi_device_path *efi_dp_from_part(struct blk_desc *desc, int part);
 struct efi_device_path *efi_dp_from_file(struct blk_desc *desc, int part,
                                         const char *path);
 struct efi_device_path *efi_dp_from_eth(void);
+struct efi_device_path *efi_dp_from_mem(uint32_t mem_type,
+                                       uint64_t start_address,
+                                       uint64_t end_address);
 void efi_dp_split_file_path(struct efi_device_path *full_path,
                            struct efi_device_path **device_path,
                            struct efi_device_path **file_path);