[PATCH v2 3/3] libfdt: split fdt_region declarations out to <fdt_region.h>
sjg at google.com
sjg at google.com
Mon Apr 27 05:07:06 CEST 2020
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 at kernel.org>
---
I am resending this after two years since v1.
My previous attempt sank by this comment:
http://patchwork.ozlabs.org/project/uboot/patch/1521623017-29312-6-git-send-email-yamada.masahiro@socionext.com/#1881345
Two years have passed, but I still do not see such code
in upstream DTC.
Changes in v2:
- Rebase
common/fdt_region.c | 1 +
common/image-fit-sig.c | 1 +
include/fdt_region.h | 304 +++++++++++++++++++++++++++++++++++++++++
include/linux/libfdt.h | 299 ----------------------------------------
tools/fdtgrep.c | 1 +
tools/image-host.c | 1 +
6 files changed, 308 insertions(+), 299 deletions(-)
create mode 100644 include/fdt_region.h
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list