common/cnxk: add model init and IO handling API
authorJerin Jacob <jerinj@marvell.com>
Tue, 6 Apr 2021 14:40:55 +0000 (20:10 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commit014a9e222bac8763dbc2f635383d1d5c81598ff5
treefcd598bdb02fdce1395577047d59a6bb46ad3680
parentfa8f86a14e2e5991c2ff10f5db6dea33f8e355e5
common/cnxk: add model init and IO handling API

Add routines for SoC model identification and HW IO handling
routines specific to CN9K and CN10K Marvell SoC's.
These are based on arm64 ISA and behaviour specific to
Marvell SoC's.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
13 files changed:
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_io.h [new file with mode: 0644]
drivers/common/cnxk/roc_io_generic.h [new file with mode: 0644]
drivers/common/cnxk/roc_model.c [new file with mode: 0644]
drivers/common/cnxk/roc_model.h [new file with mode: 0644]
drivers/common/cnxk/roc_platform.c
drivers/common/cnxk/roc_platform.h
drivers/common/cnxk/roc_priv.h [new file with mode: 0644]
drivers/common/cnxk/roc_util_priv.h [new file with mode: 0644]
drivers/common/cnxk/roc_utils.c [new file with mode: 0644]
drivers/common/cnxk/roc_utils.h [new file with mode: 0644]
drivers/common/cnxk/version.map