Browse Source

efi_loader: fix efi_install_fdt() description

In the function description use the correct parameter name.

Mention EFI_FDT_USE_INTERNAL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Heinrich Schuchardt 4 years ago
parent
commit
7d4d551e7d
1 changed files with 5 additions and 5 deletions
  1. 5 5
      cmd/bootefi.c

+ 5 - 5
cmd/bootefi.c

@@ -203,15 +203,15 @@ static void *get_config_table(const efi_guid_t *guid)
 /**
  * efi_install_fdt() - install device tree
  *
- * If fdt_addr is available, the device tree located at that memory address will
- * will be installed as configuration table, otherwise the device tree located
- * at the address indicated by environment variable fdt_addr or as fallback
- * fdtcontroladdr will be used.
+ * If fdt is not EFI_FDT_USE_INTERNAL, the device tree located at that memory
+ * address will will be installed as configuration table, otherwise the device
+ * tree located at the address indicated by environment variable fdt_addr or as
+ * fallback fdtcontroladdr will be used.
  *
  * On architectures using ACPI tables device trees shall not be installed as
  * configuration table.
  *
- * @fdt_addr:	address of device tree or EFI_FDT_USE_INTERNAL to use the
+ * @fdt:	address of device tree or EFI_FDT_USE_INTERNAL to use the
  *		the hardware device tree as indicated by environment variable
  *		fdt_addr or as fallback the internal device tree as indicated by
  *		the environment variable fdtcontroladdr