• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2018 Marvell International Ltd.
3  *
4  * SPDX-License-Identifier:     BSD-3-Clause
5  * https://spdx.org/licenses
6  */
7 
8 /* IOW unit device driver for Marvell CP110 and CP115 SoCs */
9 
10 #ifndef IOB_H
11 #define IOB_H
12 
13 #include <drivers/marvell/addr_map.h>
14 
15 enum target_ids_iob {
16 	INTERNAL_TID	= 0x0,
17 	MCI0_TID	= 0x1,
18 	PEX1_TID	= 0x2,
19 	PEX2_TID	= 0x3,
20 	PEX0_TID	= 0x4,
21 	NAND_TID	= 0x5,
22 	RUNIT_TID	= 0x6,
23 	MCI1_TID	= 0x7,
24 	IOB_MAX_TID
25 };
26 
27 int init_iob(uintptr_t base);
28 void iob_cfg_space_update(int ap_idx, int cp_idx,
29 			  uintptr_t base, uintptr_t new_base);
30 
31 #endif /* IOB_H */
32