mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 07:50:43 +03:00
[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>
This commit is contained in:
@@ -199,7 +199,8 @@ extern int fdt_mac ( struct fdt *fdt, unsigned int offset,
|
||||
struct net_device *netdev );
|
||||
extern int fdt_parse ( struct fdt *fdt, struct fdt_header *hdr,
|
||||
size_t max_len );
|
||||
extern int fdt_create ( struct fdt_header **hdr, const char *cmdline );
|
||||
extern int fdt_create ( struct fdt_header **hdr, const char *cmdline,
|
||||
physaddr_t initrd, size_t initrd_len );
|
||||
extern void fdt_remove ( struct fdt_header *hdr );
|
||||
|
||||
#endif /* _IPXE_FDT_H */
|
||||
|
||||
Reference in New Issue
Block a user