diff options
author | Dean Luick <dean.luick@intel.com> | 2016-09-30 04:41:40 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-10-02 08:42:20 -0400 |
commit | 107ffbc521b07f22c2e8d1c5fce39766c265c02c (patch) | |
tree | bd46e62c6f5919e4676eceeebc949678483e38d6 /drivers/infiniband/hw/hfi1/eprom.h | |
parent | e2113752b783e387f9cb0d8b9d928c6f9fce08b3 (diff) | |
download | linux-rt-107ffbc521b07f22c2e8d1c5fce39766c265c02c.tar.gz |
IB/hfi1: Add ability to read platform config from the EPROM
Add a function to read the platform configuration file from
the EPROM.
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/eprom.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/eprom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/eprom.h b/drivers/infiniband/hw/hfi1/eprom.h index b7ac9cee1076..e774184f1643 100644 --- a/drivers/infiniband/hw/hfi1/eprom.h +++ b/drivers/infiniband/hw/hfi1/eprom.h @@ -48,3 +48,5 @@ struct hfi1_devdata; int eprom_init(struct hfi1_devdata *dd); +int eprom_read_platform_config(struct hfi1_devdata *dd, void **buf_ret, + u32 *size_ret); |