aboutsummaryrefslogtreecommitdiff
path: root/hdata/hdata.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-04-06 14:01:58 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-04-07 14:51:34 +1000
commitae4e50eb35695f9438b6b9544a02fc891c4dd20d (patch)
tree7a617c3a1dabc54836428b4aca1d0501d24a7006 /hdata/hdata.h
parent510e2b066b172a4b46e18315ddac30721b5a7526 (diff)
downloadskiboot-ae4e50eb35695f9438b6b9544a02fc891c4dd20d.zip
skiboot-ae4e50eb35695f9438b6b9544a02fc891c4dd20d.tar.gz
skiboot-ae4e50eb35695f9438b6b9544a02fc891c4dd20d.tar.bz2
hdat: parse processor attached i2c devices
Adds basic parsing for i2c devices that are attached to the processor I2C interfaces. This is mainly VPD SEEPROMs. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hdata/hdata.h b/hdata/hdata.h
index 53927a3..e387186 100644
--- a/hdata/hdata.h
+++ b/hdata/hdata.h
@@ -47,6 +47,8 @@ extern void slca_vpd_add_loc_code(struct dt_node *node, uint16_t slca_index);
extern void slca_dt_add_sai_node(void);
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);
#endif /* __HDATA_H */