Masahiro Yamada | bf5cf52 | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _INCLUDE_LIBFDT_H_ |
| 3 | #define _INCLUDE_LIBFDT_H_ |
Masahiro Yamada | 1d95082 | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 4 | |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 5 | #ifndef USE_HOSTCC |
Masahiro Yamada | bf5cf52 | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 6 | #include <linux/libfdt_env.h> |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 7 | #endif |
Masahiro Yamada | bf5cf52 | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 8 | #include "../../scripts/dtc/libfdt/libfdt.h" |
Masahiro Yamada | 1d95082 | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 9 | |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 10 | /* U-Boot local hacks */ |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 11 | extern struct fdt_header *working_fdt; /* Pointer to the working fdt */ |
| 12 | |
Masahiro Yamada | bf5cf52 | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 13 | #endif /* _INCLUDE_LIBFDT_H_ */ |