Masahiro Yamada | b0bd96c | 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 | 50a327d | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 4 | |
Masahiro Yamada | b08c8c4 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 5 | #ifndef USE_HOSTCC |
Masahiro Yamada | b0bd96c | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 6 | #include <linux/libfdt_env.h> |
Masahiro Yamada | b08c8c4 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 7 | #endif |
Masahiro Yamada | b0bd96c | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 8 | #include "../../scripts/dtc/libfdt/libfdt.h" |
Masahiro Yamada | 50a327d | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 9 | |
Masahiro Yamada | b08c8c4 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 10 | /* U-Boot local hacks */ |
Masahiro Yamada | b08c8c4 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 11 | extern struct fdt_header *working_fdt; /* Pointer to the working fdt */ |
| 12 | |
Masahiro Yamada | b0bd96c | 2018-01-21 19:19:14 +0900 | [diff] [blame] | 13 | #endif /* _INCLUDE_LIBFDT_H_ */ |