[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for 2.10 3/4] fdt: probe for v1.4.2 using fdt_setpro
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH for 2.10 3/4] fdt: probe for v1.4.2 using fdt_setprop_inplace_namelen_partial() |
Date: |
Wed, 26 Jul 2017 18:40:09 -0300 |
instead of fdt_first_subnode() which is v1.4.0
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
configure | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 0d5bdb3ae9..2d803d6a77 100755
--- a/configure
+++ b/configure
@@ -3565,7 +3565,10 @@ if test "$fdt" != "no" ; then
cat > $TMPC << EOF
#include <libfdt.h>
#include <libfdt_env.h>
-int main(void) { fdt_first_subnode(0, 0); return 0; }
+int main(void) {
+ fdt_setprop_inplace_namelen_partial(0, 0, 0, 0, 0, 0, 0);
+ return 0;
+}
EOF
if compile_prog "" "$fdt_libs" ; then
# system DTC is good - use it
--
2.13.3
- [Qemu-devel] [PATCH for 2.10 0/4] check dtc submodule is outdated, Philippe Mathieu-Daudé, 2017/07/26
- [Qemu-devel] [PATCH 1/4] configure: remember the user to run 'git submodule' command in source dir, Philippe Mathieu-Daudé, 2017/07/26
- [Qemu-devel] [PATCH for 2.10 2/4] fdt: check fdt_required condition can be satisfied _after_ testing libfdt, Philippe Mathieu-Daudé, 2017/07/26
- [Qemu-devel] [PATCH for 2.10 3/4] fdt: probe for v1.4.2 using fdt_setprop_inplace_namelen_partial(),
Philippe Mathieu-Daudé <=
- [Qemu-devel] [RFC PATCH for 2.10 4/4] fdt: compile dtc submodule to check it is up-to-date, Philippe Mathieu-Daudé, 2017/07/26
- Re: [Qemu-devel] [PATCH for 2.10 0/4] check dtc submodule is outdated, no-reply, 2017/07/26
- Re: [Qemu-devel] [PATCH for 2.10 0/4] check dtc submodule is outdated, Philippe Mathieu-Daudé, 2017/07/27