mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 19:43:33 +00:00
64045a6a17
fdt_region APIs are not part of libfdt. They are U-Boot extension for the verified boot. Split the declarations related to fdt_region out of <fdt_region.h>. This allows <linux/libfdt.h> to become a simple wrapper file, like Linux does. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
13 lines
327 B
C
13 lines
327 B
C
/* 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_ */
|