summaryrefslogtreecommitdiffstats
path: root/src/interface/efi
diff options
context:
space:
mode:
authorMichael Brown2025-05-21 15:26:56 +0200
committerMichael Brown2025-05-21 15:31:18 +0200
commit9bc559850c53eb630f9bb1089c98bae1d776d3d8 (patch)
tree3f387e3197cfcc7689c743ca2d638a0b3e7e5580 /src/interface/efi
parent[initrd] Move initrd reshuffling to be architecture-independent code (diff)
downloadipxe-9bc559850c53eb630f9bb1089c98bae1d776d3d8.tar.gz
ipxe-9bc559850c53eb630f9bb1089c98bae1d776d3d8.tar.xz
ipxe-9bc559850c53eb630f9bb1089c98bae1d776d3d8.zip
[fdt] Allow an initrd to be specified when creating a device tree
Allow an initrd location to be specified in our constructed device tree via the "linux,initrd-start" and "linux,initrd-end" properties. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r--src/interface/efi/efi_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_fdt.c b/src/interface/efi/efi_fdt.c
index 1e0d4b8b7..3a90fd7ce 100644
--- a/src/interface/efi/efi_fdt.c
+++ b/src/interface/efi/efi_fdt.c
@@ -114,7 +114,7 @@ int efi_fdt_install ( const char *cmdline ) {
int rc;
/* Create device tree */
- if ( ( rc = fdt_create ( &efi_fdt_installed, cmdline ) ) != 0 ) {
+ if ( ( rc = fdt_create ( &efi_fdt_installed, cmdline, 0, 0 ) ) != 0 ) {
DBGC ( &efi_fdt, "EFI_FDT could not install: %s\n",
strerror ( rc ) );
goto err_create;