aboutsummaryrefslogtreecommitdiff
path: root/hdata/hdata.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-09-15 15:40:58 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-15 02:49:27 -0500
commit9b886a44d993ade2f05f3a554a098c674bb7cd7f (patch)
tree69cc1c95c1ec9f34ec02d73652d9401b5a0ea0ad /hdata/hdata.h
parentad484081ef8a51811e7902aec436fa8f1ca9604a (diff)
downloadskiboot-9b886a44d993ade2f05f3a554a098c674bb7cd7f.zip
skiboot-9b886a44d993ade2f05f3a554a098c674bb7cd7f.tar.gz
skiboot-9b886a44d993ade2f05f3a554a098c674bb7cd7f.tar.bz2
hdata: Parse NVLink information
Add the per-chip structures that descibe how the A-Bus/NVLink/OpenCAPI phy is configured. This generates the npu@xyz nodes for each chip on systems that support it. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/hdata.h')
-rw-r--r--hdata/hdata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hdata/hdata.h b/hdata/hdata.h
index cab0626..82479f5 100644
--- a/hdata/hdata.h
+++ b/hdata/hdata.h
@@ -68,5 +68,8 @@ extern bool hservices_from_hdat(const void *fdt, size_t size);
int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index,
struct dt_node *xscom);
+/* used to look up the device-tree node representing a slot */
+struct dt_node *find_slot_entry_node(struct dt_node *root, u32 entry_id);
+
#endif /* __HDATA_H */