Xing Zheng | c39aacd | 2016-12-22 18:34:14 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Xing Zheng | c39aacd | 2016-12-22 18:34:14 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef BL31_PARAM_H |
| 8 | #define BL31_PARAM_H |
Xing Zheng | c39aacd | 2016-12-22 18:34:14 +0800 | [diff] [blame] | 9 | |
| 10 | /******************************************************************************* |
| 11 | * Platform memory map related constants |
| 12 | ******************************************************************************/ |
| 13 | /* TF text, ro, rw, Size: 1MB */ |
| 14 | #define TZRAM_BASE (0x0) |
| 15 | #define TZRAM_SIZE (0x100000) |
| 16 | |
| 17 | /******************************************************************************* |
| 18 | * BL31 specific defines. |
| 19 | ******************************************************************************/ |
| 20 | /* |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 21 | * Put BL31 at the top of the Trusted RAM |
Xing Zheng | c39aacd | 2016-12-22 18:34:14 +0800 | [diff] [blame] | 22 | */ |
Kever Yang | 6843ae9 | 2019-09-19 10:37:36 +0800 | [diff] [blame] | 23 | #define BL31_BASE (TZRAM_BASE + 0x40000) |
Xing Zheng | c39aacd | 2016-12-22 18:34:14 +0800 | [diff] [blame] | 24 | #define BL31_LIMIT (TZRAM_BASE + TZRAM_SIZE) |
| 25 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 26 | #endif /* BL31_PARAM_H */ |