From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU2n-0004wa-U0 for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daU2i-0006dc-Uz for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:37 -0400 Received: from mail-ua0-x243.google.com ([2607:f8b0:400c:c08::243]:37150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daU2i-0006dR-Qt for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:32 -0400 Received: by mail-ua0-x243.google.com with SMTP id 80so15042804uas.4 for ; Wed, 26 Jul 2017 14:40:32 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Wed, 26 Jul 2017 18:40:09 -0300 Message-Id: <20170726214010.420-4-f4bug@amsat.org> In-Reply-To: <20170726214010.420-1-f4bug@amsat.org> References: <20170726214010.420-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH for 2.10 3/4] fdt: probe for v1.4.2 using fdt_setprop_inplace_namelen_partial() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Arbuckle , Peter Maydell , Paolo Bonzini Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yongbok Kim , James Hogan , Aurelien Jarno , Peter Crosthwaite , Juan Quintela , qemu-devel@nongnu.org instead of fdt_first_subnode() which is v1.4.0 Signed-off-by: Philippe Mathieu-Daudé --- 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 #include -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