common/sfc_efx/base: refactor version / boot info get helper
authorIvan Malov <ivan.malov@oktetlabs.ru>
Tue, 20 Oct 2020 09:13:20 +0000 (10:13 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:25 +0000 (23:24 +0100)
commit312191e86eb0edf8e40822b4d8d91c85a9e02f2b
tree6ae3fd987e946efab2c7fb6bf9c4d6739ec8b8f6
parent0839236d0391e89936eba39ec765ea4a7e614842
common/sfc_efx/base: refactor version / boot info get helper

Refactor MCDI helper for version information and boot status
retrieval; it should comprise two dedicated helper functions.

A later patch will extend and reuse version retrieval helper.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/common/sfc_efx/base/efx_mcdi.c
drivers/common/sfc_efx/base/efx_mcdi.h