nfp: add support for reading nffw info
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 9 Feb 2017 17:17:32 +0000 (09:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 20:52:25 +0000 (15:52 -0500)
commita0d8e02c35ff6068925d8c5ff4202b561aa90de6
tree4abb78b2781c021d8eb88567f01b9f9f826b4097
parent59a8474888e9b06252ebe8979630b371c926a00c
nfp: add support for reading nffw info

NFFW info is a resource which contains information about
the loaded application firmware.  Add code which will allow
us to decode it and retrieve MIP location.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/Makefile
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h [new file with mode: 0644]