Masahiro Yamada | befc7ab | 2018-01-21 19:19:16 +0900 | [diff] [blame^] | 1 | #ifndef UBOOT_LIBFDT_H |
| 2 | #define UBOOT_LIBFDT_H |
| 3 | /* |
| 4 | * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause |
| 5 | */ |
| 6 | |
Jan Kundrát | 873de76 | 2017-11-03 03:06:35 +0100 | [diff] [blame] | 7 | #include "../lib/libfdt/libfdt.h" |
Masahiro Yamada | befc7ab | 2018-01-21 19:19:16 +0900 | [diff] [blame^] | 8 | |
| 9 | extern struct fdt_header *working_fdt; /* Pointer to the working fdt */ |
| 10 | |
| 11 | /* adding a ramdisk needs 0x44 bytes in version 2008.10 */ |
| 12 | #define FDT_RAMDISK_OVERHEAD 0x80 |
| 13 | |
| 14 | #endif /* UBOOT_LIBFDT_H */ |