summaryrefslogtreecommitdiff
path: root/include/efi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/efi.h')
-rw-r--r--include/efi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/efi.h b/include/efi.h
index 8c3f332468..877a2e5a8d 100644
--- a/include/efi.h
+++ b/include/efi.h
@@ -566,6 +566,10 @@ void efi_putc(struct efi_priv *priv, const char ch);
/**
* efi_info_get() - get an entry from an EFI table
*
+ * This function is called from U-Boot proper to read information set up by the
+ * EFI stub. It can only be used when running from the EFI stub, not when U-Boot
+ * is running as an app.
+ *
* @type: Entry type to search for
* @datap: Returns pointer to entry data
* @sizep: Returns pointer to entry size