summaryrefslogtreecommitdiff
path: root/scripts/dtc/libfdt/fdt_ro.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-23 12:28:54 -0500
committerTom Rini <trini@konsulko.com>2022-02-23 13:34:08 -0500
commit4cb9bd834e6a63ab56797b362a288709e867ccfb (patch)
treed4bfbd7d8ad58b103d8d2e9e3f54b7f18589da2f /scripts/dtc/libfdt/fdt_ro.c
parent17a0dc6abfdbf392f6a27074f2633608038c4221 (diff)
parent70f42e720c90faa2fa27836288559e0d647862b7 (diff)
Merge tag 'dm-pull-22222' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
binman fixes/improvements to FIT generator binman SPL fixes moveconfig support regex matches
Diffstat (limited to 'scripts/dtc/libfdt/fdt_ro.c')
-rw-r--r--scripts/dtc/libfdt/fdt_ro.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/dtc/libfdt/fdt_ro.c b/scripts/dtc/libfdt/fdt_ro.c
index efe7efe9211..63eaf57f43a 100644
--- a/scripts/dtc/libfdt/fdt_ro.c
+++ b/scripts/dtc/libfdt/fdt_ro.c
@@ -937,4 +937,10 @@ int fdt_check_full(const void *fdt, size_t bufsize)
}
}
}
-#endif
+#else
+int fdt_check_full(const void __always_unused *fdt,
+ size_t __always_unused bufsize)
+{
+ return 0;
+}
+#endif /* #if !defined(FDT_ASSUME_MASK) || FDT_ASSUME_MASK != 0xff */