[thunderx] Fix hardware deinitialization
authorBartosz Szczepanek <bartosz.szczepanek@cavium.com>
Tue, 7 Feb 2017 11:20:18 +0000 (12:20 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 7 Feb 2017 11:54:57 +0000 (11:54 +0000)
commited864feb3aedcde41040d4a5293608ccd2d3361a
treeb33fb5fd2a381c6ab7c009d2f8a385e061f66609
parent4a4da573dd8ffabff881ee52c2d1151c15d1730e
[thunderx] Fix hardware deinitialization

It is required to reset BGX context state for the LMAC using
BGX_CMR_CONFIG register.

This solves problem with network connectivity in Linux booted from
iPXE.

Signed-off-by: Bartosz Szczepanek <bartosz.szczepanek@cavium.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/thunderx.c