qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Burton <paul.burton@imgtec.com>
To: qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net>,
	Leon Alrae <leon.alrae@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Subject: [Qemu-devel] [PATCH v2 5/8] dtc: Update requirement to v1.4.2
Date: Thu, 8 Sep 2016 15:51:55 +0100	[thread overview]
Message-ID: <20160908145158.30720-6-paul.burton@imgtec.com> (raw)
In-Reply-To: <20160908145158.30720-1-paul.burton@imgtec.com>

In order to obtain fdt_first_subnode & fdt_next_subnode symbols from
libfdt for use by a later patch, bump the requirement for dtc to v1.4.2
& the submodule to that same version.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
---
This will rely upon the dtc v1.4.2 tag being pushed to the dtc
repository on git.qemu.org.

Changes in v2:
- New patch
---
 configure | 6 +++---
 dtc       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 5a9bda1..1c4e117 100755
--- a/configure
+++ b/configure
@@ -3326,11 +3326,11 @@ fi
 if test "$fdt" != "no" ; then
   fdt_libs="-lfdt"
   # explicitly check for libfdt_env.h as it is missing in some stable installs
-  # and test for required functions to make sure we are on a version >= 1.4.0
+  # and test for required functions to make sure we are on a version >= 1.4.2
   cat > $TMPC << EOF
 #include <libfdt.h>
 #include <libfdt_env.h>
-int main(void) { fdt_get_property_by_offset(0, 0, 0); return 0; }
+int main(void) { fdt_first_subnode(0, 0); return 0; }
 EOF
   if compile_prog "" "$fdt_libs" ; then
     # system DTC is good - use it
@@ -3348,7 +3348,7 @@ EOF
     fdt_libs="-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs"
   elif test "$fdt" = "yes" ; then
     # have neither and want - prompt for system/submodule install
-    error_exit "DTC (libfdt) version >= 1.4.0 not present. Your options:" \
+    error_exit "DTC (libfdt) version >= 1.4.2 not present. Your options:" \
         "  (1) Preferred: Install the DTC (libfdt) devel package" \
         "  (2) Fetch the DTC submodule, using:" \
         "      git submodule update --init dtc"
diff --git a/dtc b/dtc
index 65cc4d2..ec02b34 160000
--- a/dtc
+++ b/dtc
@@ -1 +1 @@
-Subproject commit 65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf
+Subproject commit ec02b34c05be04f249ffaaca4b666f5246877dea
-- 
2.9.3

  parent reply	other threads:[~2016-09-08 14:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08 14:51 [Qemu-devel] [PATCH v2 0/8] MIPS Boston board support Paul Burton
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 1/8] hw/mips_cmgcr: allow GCR base to be moved Paul Burton
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 2/8] hw/mips_gictimer: provide API for retrieving frequency Paul Burton
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 3/8] hw/mips_gic: Update pin state on mask changes Paul Burton
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 4/8] target-mips: Provide function to test if a CPU supports an ISA Paul Burton
2016-09-08 14:51 ` Paul Burton [this message]
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 6/8] loader: Support Flattened Image Trees (FIT images) Paul Burton
2016-10-27 23:31   ` Yongbok Kim
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 7/8] hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller Paul Burton
2016-11-28 23:37   ` Alistair Francis
2016-09-08 14:51 ` [Qemu-devel] [PATCH v2 8/8] hw/mips: MIPS Boston board support Paul Burton
2017-01-24  0:17   ` Yongbok Kim
2016-09-08 18:58 ` [Qemu-devel] [PATCH v2 0/8] " no-reply
2016-09-08 21:16   ` Paul Burton
2016-10-27 18:04 ` Paul Burton
2016-10-27 18:17   ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160908145158.30720-6-paul.burton@imgtec.com \
    --to=paul.burton@imgtec.com \
    --cc=aurelien@aurel32.net \
    --cc=leon.alrae@imgtec.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).