]> git.sur5r.net Git - u-boot/blob - include/libfdt.h
libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h
[u-boot] / include / libfdt.h
1 #ifndef UBOOT_LIBFDT_H
2 #define UBOOT_LIBFDT_H
3 /*
4  * SPDX-License-Identifier:     GPL-2.0+ BSD-2-Clause
5  */
6
7 #include "../lib/libfdt/libfdt.h"
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 */