common/octeontx2: add IO handling APIs
authorJerin Jacob <jerinj@marvell.com>
Sat, 22 Jun 2019 13:23:52 +0000 (18:53 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 25 Jun 2019 21:35:57 +0000 (23:35 +0200)
commit8a4f835971f5041b86969d150f9e56f49a50375a
treecfc8b8f7f2ee91614973ad11ac042f2892950389
parent371d3212cbed1067e6554a755b0dfd578a0e0e8b
common/octeontx2: add IO handling APIs

Various octeontx2 drivers use IO handling API, added octeontx2
specific IO handling routines in the common code.

Since some of those implementations are based on arm64 instructions
added the stub to compile the code on non arm64 ISA.
The non arm64 ISA stub is possible due to the fact that
it is an integrated controller i.e runs only on Marvell HW.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/common/octeontx2/otx2_common.h
drivers/common/octeontx2/otx2_io_arm64.h [new file with mode: 0644]
drivers/common/octeontx2/otx2_io_generic.h [new file with mode: 0644]