mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
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.
12 lines
216 B
C
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_
|