IB/hfi1: Add ability to read platform config from the EPROM
authorDean Luick <dean.luick@intel.com>
Fri, 30 Sep 2016 11:41:40 +0000 (04:41 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 2 Oct 2016 12:42:20 +0000 (08:42 -0400)
commit107ffbc521b07f22c2e8d1c5fce39766c265c02c
treebd46e62c6f5919e4676eceeebc949678483e38d6
parente2113752b783e387f9cb0d8b9d928c6f9fce08b3
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>
drivers/infiniband/hw/hfi1/eprom.c
drivers/infiniband/hw/hfi1/eprom.h