blob: 6e7e8ba099e9242fc2efea6291aea5ec20865ca8 [file] [log] [blame]
Xing Zhengc39aacd2016-12-22 18:34:14 +08001/*
2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Xing Zhengc39aacd2016-12-22 18:34:14 +08005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef BL31_PARAM_H
8#define BL31_PARAM_H
Xing Zhengc39aacd2016-12-22 18:34:14 +08009
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 Diaz5eb88372018-11-08 10:20:19 +000021 * Put BL31 at the top of the Trusted RAM
Xing Zhengc39aacd2016-12-22 18:34:14 +080022 */
Kever Yang6843ae92019-09-19 10:37:36 +080023#define BL31_BASE (TZRAM_BASE + 0x40000)
Xing Zhengc39aacd2016-12-22 18:34:14 +080024#define BL31_LIMIT (TZRAM_BASE + TZRAM_SIZE)
25
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000026#endif /* BL31_PARAM_H */