Files
uniLoader/include/main/boot-fdt.h
T
Aiden Isik 6ae4e8084f main: Pass address of address of DTB to patch_dtb
Pass the address of the address of the DTB to patch_dtb in boot.c, rather than just the address to the DTB.
This allows the modified DTB address to overwrite the address of the original DTB, fixing a bug where
the ramdisk address was not being passed to the kernel via the DTB successfully.
2026-05-14 21:03:32 +02:00

12 lines
216 B
C

// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2026, Igor Belwon <igor.belwon@mentallysanemainliners.org>
*/
#ifndef BOOT_FDT_H_
#define BOOT_FDT_H_
void patch_dtb(void** dt);
#endif // BOOT_FDT_H_