mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
efi_loader: comments for efi_install_fdt()
Describe that efi_install_fdt() defaults to using the device tree indicated by environment variable fdtcontroladdr. ACPI tables and device trees are mutually exclusive. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -196,11 +196,16 @@ static void *get_config_table(const efi_guid_t *guid)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* efi_install_fdt() - install fdt passed by a command argument
|
* efi_install_fdt() - install fdt passed by a command argument
|
||||||
|
*
|
||||||
|
* If fdt_opt 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 fdtcontroladdr will be used.
|
||||||
|
*
|
||||||
|
* On architectures (x86) using ACPI tables device trees shall not be installed
|
||||||
|
* as configuration table.
|
||||||
|
*
|
||||||
* @fdt_opt: pointer to argument
|
* @fdt_opt: pointer to argument
|
||||||
* Return: status code
|
* Return: status code
|
||||||
*
|
|
||||||
* If specified, fdt will be installed as configuration table,
|
|
||||||
* otherwise no fdt will be passed.
|
|
||||||
*/
|
*/
|
||||||
static efi_status_t efi_install_fdt(const char *fdt_opt)
|
static efi_status_t efi_install_fdt(const char *fdt_opt)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user