arm-trusted-firmware/plat/imx/common/include/imx_aips.h
Bryan O'Donoghue 49a6413447 imx: imx_aips: Add initial AIPS support
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>
2018-09-04 13:36:23 +01:00

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__ */