blob: 39dbc88aa549b3a3849233dfcaaf9c26565a6a1d [file] [log] [blame]
Masahiro Yamadab0bd96c2018-01-21 19:19:14 +09001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _INCLUDE_LIBFDT_H_
3#define _INCLUDE_LIBFDT_H_
Masahiro Yamada50a327d2017-10-17 22:30:20 +09004
Masahiro Yamadab08c8c42018-03-05 01:20:11 +09005#ifndef USE_HOSTCC
Masahiro Yamadab0bd96c2018-01-21 19:19:14 +09006#include <linux/libfdt_env.h>
Masahiro Yamadab08c8c42018-03-05 01:20:11 +09007#endif
Masahiro Yamadab0bd96c2018-01-21 19:19:14 +09008#include "../../scripts/dtc/libfdt/libfdt.h"
Masahiro Yamada50a327d2017-10-17 22:30:20 +09009
Masahiro Yamadab08c8c42018-03-05 01:20:11 +090010/* U-Boot local hacks */
Masahiro Yamadab08c8c42018-03-05 01:20:11 +090011extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
12
Masahiro Yamadab0bd96c2018-01-21 19:19:14 +090013#endif /* _INCLUDE_LIBFDT_H_ */