xref: /rk3399_ARM-atf/plat/rockchip/rk3399/include/shared/bl31_param.h (revision c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84)
1ae7a9352SXing Zheng /*
2ae7a9352SXing Zheng  * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3ae7a9352SXing Zheng  *
482cb2c1aSdp-arm  * SPDX-License-Identifier: BSD-3-Clause
5ae7a9352SXing Zheng  */
6ae7a9352SXing Zheng 
7*c3cf06f1SAntonio Nino Diaz #ifndef BL31_PARAM_H
8*c3cf06f1SAntonio Nino Diaz #define BL31_PARAM_H
9ae7a9352SXing Zheng 
10ae7a9352SXing Zheng /*******************************************************************************
11ae7a9352SXing Zheng  * Platform memory map related constants
12ae7a9352SXing Zheng  ******************************************************************************/
13ae7a9352SXing Zheng /* TF text, ro, rw, Size: 1MB */
14ae7a9352SXing Zheng #define TZRAM_BASE		(0x0)
15ae7a9352SXing Zheng #define TZRAM_SIZE		(0x100000)
16ae7a9352SXing Zheng 
17ae7a9352SXing Zheng /*******************************************************************************
18ae7a9352SXing Zheng  * BL31 specific defines.
19ae7a9352SXing Zheng  ******************************************************************************/
20ae7a9352SXing Zheng /*
21*c3cf06f1SAntonio Nino Diaz  * Put BL31 at the top of the Trusted RAM
22ae7a9352SXing Zheng  */
23ae7a9352SXing Zheng #define BL31_BASE		(TZRAM_BASE + 0x1000)
24ae7a9352SXing Zheng #define BL31_LIMIT		(TZRAM_BASE + TZRAM_SIZE)
25ae7a9352SXing Zheng 
26*c3cf06f1SAntonio Nino Diaz #endif /* BL31_PARAM_H */
27