diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-10 13:12:51 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-16 15:22:30 +1100 |
commit | 2ca064df7da39ad5009b46e1ddeddabf8ff17a08 (patch) | |
tree | 8e5aadeb08d981517aca19c60f15e5eeb8e41074 /test/dt_common.c | |
parent | 0e386883f797ee6fd7023ba24329cb115014973b (diff) | |
download | skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.zip skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.tar.gz skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.tar.bz2 |
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/dt_common.c')
-rw-r--r-- | test/dt_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dt_common.c b/test/dt_common.c index 7622081..2da1d72 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; |