blob: c95e4c0c30e38f3bf86d0f02627b51dddf18e71c [file] [log] [blame]
Saurabh Gorecha70389ca2020-04-22 21:31:24 +05301/*
2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7#ifndef QTI_BOARD_DEF_H
8#define QTI_BOARD_DEF_H
9
10/*
11 * Required platform porting definitions common to all ARM
12 * development platforms
13 */
14
Saurabh Gorecha03b35632020-10-15 00:11:15 +053015/*
16 * Defines used to retrieve QTI SOC Version
17 */
18#define JEDEC_QTI_BKID U(0x0)
19#define JEDEC_QTI_MFID U(0x70)
20#define QTI_SOC_CONTINUATION_SHIFT U(24)
21#define QTI_SOC_IDENTIFICATION_SHIFT U(16)
22
Saurabh Gorecha70389ca2020-04-22 21:31:24 +053023/* Size of cacheable stacks */
24#define PLATFORM_STACK_SIZE 0x1000
25
26/*
27 * PLAT_QTI_MMAP_ENTRIES depends on the number of entries in the
28 * plat_qti_mmap array defined for each BL stage.
29 */
30#define PLAT_QTI_MMAP_ENTRIES 12
31
32/*
33 * Platform specific page table and MMU setup constants
34 */
35#define MAX_XLAT_TABLES 12
36
37#endif /* QTI_BOARD_DEF_H */