summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-02-10 13:12:51 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-02-16 15:22:30 +1100
commit2ca064df7da39ad5009b46e1ddeddabf8ff17a08 (patch)
tree8e5aadeb08d981517aca19c60f15e5eeb8e41074 /test
parent0e386883f797ee6fd7023ba24329cb115014973b (diff)
downloadtalos-skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.tar.gz
talos-skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.zip
hdata_to_dt: Only output dtb
convert test cases to diff DTS rather than DTB. This means we also have to build dtc on CentOS 7 to be able to run the test suite. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> [oohall@gmail.com moved the test cases into seperate patches] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test')
-rw-r--r--test/dt_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dt_common.c b/test/dt_common.c
index 76220812..2da1d72d 100644
--- a/test/dt_common.c
+++ b/test/dt_common.c
@@ -47,7 +47,9 @@ static void dump_val(unsigned indent, const void *prop, size_t size)
}
}
-static void dump_dt(const struct dt_node *root, unsigned indent, bool show_props)
+void dump_dt(const struct dt_node *root, unsigned indent, bool show_props);
+
+void dump_dt(const struct dt_node *root, unsigned indent, bool show_props)
{
const struct dt_node *i;
const struct dt_property *p;
OpenPOWER on IntegriCloud