qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]