All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yongbok Kim <yongbok.kim@imgtec.com>
To: qemu-devel@nongnu.org
Cc: Aurelien Jarno <aurelien@aurel32.net>,
	Paul Burton <paul.burton@imgtec.com>
Subject: [Qemu-devel] [PATCH v4 5/8] dtc: Update requirement to v1.4.2
Date: Wed, 15 Feb 2017 17:23:51 +0000	[thread overview]
Message-ID: <1487179434-13306-6-git-send-email-yongbok.kim@imgtec.com> (raw)
In-Reply-To: <1487179434-13306-1-git-send-email-yongbok.kim@imgtec.com>

From: Paul Burton <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>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
---
 configure | 6 +++---
 dtc       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 1c9655e..4b68861 100755
--- a/configure
+++ b/configure
@@ -3396,11 +3396,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
@@ -3418,7 +3418,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.7.4

  parent reply	other threads:[~2017-02-15 17:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15 17:23 [Qemu-devel] [PATCH v4 0/8] MIPS Boston board support Yongbok Kim
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 1/8] hw/mips_cmgcr: allow GCR base to be moved Yongbok Kim
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 2/8] hw/mips_gictimer: provide API for retrieving frequency Yongbok Kim
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 3/8] hw/mips_gic: Update pin state on mask changes Yongbok Kim
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 4/8] target-mips: Provide function to test if a CPU supports an ISA Yongbok Kim
2017-02-15 17:23 ` Yongbok Kim [this message]
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 6/8] loader: Support Flattened Image Trees (FIT images) Yongbok Kim
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 7/8] hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller Yongbok Kim
2017-02-15 17:23 ` [Qemu-devel] [PATCH v4 8/8] hw/mips: MIPS Boston board support Yongbok Kim
2017-02-15 17:47 ` [Qemu-devel] [PATCH v4 0/8] " no-reply

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=1487179434-13306-6-git-send-email-yongbok.kim@imgtec.com \
    --to=yongbok.kim@imgtec.com \
    --cc=aurelien@aurel32.net \
    --cc=paul.burton@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.