aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/include/linux/libfdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/include/linux/libfdt.h')
-rw-r--r--roms/u-boot/include/linux/libfdt.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/roms/u-boot/include/linux/libfdt.h b/roms/u-boot/include/linux/libfdt.h
new file mode 100644
index 000000000..39dbc88aa
--- /dev/null
+++ b/roms/u-boot/include/linux/libfdt.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _INCLUDE_LIBFDT_H_
+#define _INCLUDE_LIBFDT_H_
+
+#ifndef USE_HOSTCC
+#include <linux/libfdt_env.h>
+#endif
+#include "../../scripts/dtc/libfdt/libfdt.h"
+
+/* U-Boot local hacks */
+extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
+
+#endif /* _INCLUDE_LIBFDT_H_ */