Heiko Stuebner | 87b9a3c | 2019-03-14 22:12:04 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef BL32_PARAM_H |
| 8 | #define BL32_PARAM_H |
| 9 | |
| 10 | /******************************************************************************* |
| 11 | * Platform memory map related constants |
| 12 | ******************************************************************************/ |
Kever Yang | 6843ae9 | 2019-09-19 10:37:36 +0800 | [diff] [blame^] | 13 | /* TF text, ro, rw, Size: 1MB */ |
Heiko Stuebner | 87b9a3c | 2019-03-14 22:12:04 +0100 | [diff] [blame] | 14 | #define TZRAM_BASE (0x0) |
Kever Yang | 6843ae9 | 2019-09-19 10:37:36 +0800 | [diff] [blame^] | 15 | #define TZRAM_SIZE (0x100000) |
Heiko Stuebner | 87b9a3c | 2019-03-14 22:12:04 +0100 | [diff] [blame] | 16 | |
| 17 | /******************************************************************************* |
| 18 | * BL32 specific defines. |
| 19 | ******************************************************************************/ |
| 20 | /* |
| 21 | * Put BL32 at the top of the Trusted RAM |
| 22 | */ |
Kever Yang | 6843ae9 | 2019-09-19 10:37:36 +0800 | [diff] [blame^] | 23 | #define BL32_BASE (TZRAM_BASE + 0x40000) |
Heiko Stuebner | 87b9a3c | 2019-03-14 22:12:04 +0100 | [diff] [blame] | 24 | #define BL32_LIMIT (TZRAM_BASE + TZRAM_SIZE) |
| 25 | |
| 26 | #endif /* BL32_PARAM_H */ |