summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorStanislaw Kardach <skardach@marvell.com>2020-09-29 12:28:15 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-29 23:12:03 +0300
commit42006910b5eaa36d211e3d7623bd59c1e8c18311 (patch)
tree1c83a8007422f739abfbe2a3e304173997da204b /drivers/usb/cdns3/cdns3-imx.c
parent450f0b978870c384dd81d1176088536555f3170e (diff)
downloadlinux-42006910b5eaa36d211e3d7623bd59c1e8c18311.tar.xz
octeontx2-af: cleanup KPU config data
Refactor KPU related NPC code gathering all configuration data in a structured format and putting it in one place (npc_profile.h). This increases readability and makes it easier to extend the profile configuration (as opposed to jumping between multiple header and source files). To do this: * Gather all KPU profile related data into a single adapter struct. * Convert the built-in MKEX definition to a structured one to streamline the MKEX loading. * Convert LT default register configuration into a structure, keeping default protocol settings in same file where identifiers for those protocols are defined. * Add a single point for KPU profile loading, so that its source may change in the future once proper interfaces for loading such config are in place. Signed-off-by: Stanislaw Kardach <skardach@marvell.com> Acked-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions