mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00

This patch adds an initial AHB-to-IP TrustZone (AIPS-TZ) initialization routine. Setting up the AIPSTZ controller is required to inform the SoC interconnect fabric which bus-masters can read/write and if the read/writes are buffered. For our purposes the initial configuration is for everything to be open. We can lock-down later on as necessary. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
22 lines
392 B
C
22 lines
392 B
C
/*
|
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __IMX_AIPS_H__
|
|
#define __IMX_AIPS_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
#define AIPSTZ_OAPCR_COUNT 0x05
|
|
|
|
struct aipstz_regs {
|
|
uint32_t aipstz_mpr;
|
|
uint32_t res[15];
|
|
uint32_t aipstz_opacr[AIPSTZ_OAPCR_COUNT];
|
|
};
|
|
|
|
void imx_aips_init(void);
|
|
|
|
#endif /* __IMX_AIPS_H__ */
|