blob: 793729b99ff826074715c58f8aa1b4531fb5c2f4 [file] [log] [blame]
Chandni Cherukurif3a6cab2020-09-22 18:56:25 +05301/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef MORELLO_DEF_H
8#define MORELLO_DEF_H
9
10/* Non-secure SRAM MMU mapping */
11#define MORELLO_NS_SRAM_BASE UL(0x06000000)
12#define MORELLO_NS_SRAM_SIZE UL(0x00010000)
13#define MORELLO_MAP_NS_SRAM MAP_REGION_FLAT( \
14 MORELLO_NS_SRAM_BASE, \
15 MORELLO_NS_SRAM_SIZE, \
16 MT_DEVICE | MT_RW | MT_SECURE)
17
18/* SDS Platform information defines */
19#define MORELLO_SDS_PLATFORM_INFO_STRUCT_ID U(8)
20#define MORELLO_SDS_PLATFORM_INFO_OFFSET U(0)
Manoj Kumar4ca42b82021-01-20 17:57:31 +053021#define MORELLO_SDS_PLATFORM_INFO_SIZE U(18)
22#define MORELLO_MAX_DDR_CAPACITY U(0x1000000000)
Chandni Cherukurif3a6cab2020-09-22 18:56:25 +053023#define MORELLO_MAX_SLAVE_COUNT U(16)
24
25/* SDS BL33 image information defines */
26#define MORELLO_SDS_BL33_INFO_STRUCT_ID U(9)
27#define MORELLO_SDS_BL33_INFO_OFFSET U(0)
28#define MORELLO_SDS_BL33_INFO_SIZE U(12)
29
30/* Base address of non-secure SRAM where Platform information will be filled */
Manoj Kumar4ca42b82021-01-20 17:57:31 +053031#define MORELLO_PLATFORM_INFO_BASE UL(0x06000000)
Chandni Cherukurif3a6cab2020-09-22 18:56:25 +053032
33#endif /* MORELLO_DEF_H */