mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-21 14:31:03 +02:00
Add address decoding unit drivers for Marvell SoCs. Address decoding flow and address translation units chart are located at docs/marvell/misc/mvebu-a8k-addr-map.txt Change-Id: Id6ce311fa1f4f112df3adfac5d20449f495f71ed Signed-off-by: Hanna Hawa <hannah@marvell.com> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
32 lines
577 B
C
32 lines
577 B
C
/*
|
|
* Copyright (C) 2018 Marvell International Ltd.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
* https://spdx.org/licenses
|
|
*/
|
|
|
|
/* IOW unit device driver for Marvell CP110 and CP115 SoCs */
|
|
|
|
#ifndef _IOB_H_
|
|
#define _IOB_H_
|
|
|
|
#include <addr_map.h>
|
|
|
|
enum target_ids_iob {
|
|
INTERNAL_TID = 0x0,
|
|
MCI0_TID = 0x1,
|
|
PEX1_TID = 0x2,
|
|
PEX2_TID = 0x3,
|
|
PEX0_TID = 0x4,
|
|
NAND_TID = 0x5,
|
|
RUNIT_TID = 0x6,
|
|
MCI1_TID = 0x7,
|
|
IOB_MAX_TID
|
|
};
|
|
|
|
int init_iob(uintptr_t base);
|
|
void iob_cfg_space_update(int ap_idx, int cp_idx,
|
|
uintptr_t base, uintptr_t new_base);
|
|
|
|
#endif /* _IOB_H_ */
|