xref: /rk3399_ARM-atf/plat/rockchip/rk3399/include/shared/bl31_param.h (revision 6dcb6045ccfa1d7afa7f6645c70b22d51addcff7)
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 
7c3cf06f1SAntonio Nino Diaz #ifndef BL31_PARAM_H
8c3cf06f1SAntonio 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 /*
21c3cf06f1SAntonio Nino Diaz  * Put BL31 at the top of the Trusted RAM
22ae7a9352SXing Zheng  */
23*0aad563cSKever Yang #define BL31_BASE		(TZRAM_BASE + 0x40000)
24ae7a9352SXing Zheng #define BL31_LIMIT		(TZRAM_BASE + TZRAM_SIZE)
25ae7a9352SXing Zheng 
26c3cf06f1SAntonio Nino Diaz #endif /* BL31_PARAM_H */
27