2018-01-21 18:19:14 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _INCLUDE_LIBFDT_H_
|
|
|
|
#define _INCLUDE_LIBFDT_H_
|
2017-10-17 21:30:20 +08:00
|
|
|
|
2018-03-05 00:20:11 +08:00
|
|
|
#ifndef USE_HOSTCC
|
2018-01-21 18:19:14 +08:00
|
|
|
#include <linux/libfdt_env.h>
|
2018-03-05 00:20:11 +08:00
|
|
|
#endif
|
2018-01-21 18:19:14 +08:00
|
|
|
#include "../../scripts/dtc/libfdt/libfdt.h"
|
2017-10-17 21:30:20 +08:00
|
|
|
|
2018-03-05 00:20:11 +08:00
|
|
|
/* U-Boot local hacks */
|
|
|
|
extern struct fdt_header *working_fdt; /* Pointer to the working fdt */
|
|
|
|
|
2018-01-21 18:19:14 +08:00
|
|
|
#endif /* _INCLUDE_LIBFDT_H_ */
|