xref: /optee_os/core/arch/arm/plat-qcom/platform_config.h (revision 1e2196200255aa75b26cafb6008f0dee69ac2460)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2024, Linaro Limited
4  * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
5  */
6 
7 #ifndef PLATFORM_CONFIG_H
8 #define PLATFORM_CONFIG_H
9 
10 #include <mm/generic_ram_layout.h>
11 
12 /* Make stacks aligned to data cache line length */
13 #define STACK_ALIGNMENT			64
14 
15 #if defined(PLATFORM_FLAVOR_kodiak)
16 #define DRAM0_BASE			UL(0x80000000)
17 #define DRAM0_SIZE			UL(0x80000000)
18 #define DRAM1_BASE			ULL(0x100000000)
19 #define DRAM1_SIZE			ULL(0x100000000)
20 
21 #define GENI_UART_REG_BASE		UL(0x994000)
22 
23 /* GIC related constants */
24 #define GICD_BASE			UL(0x17a00000)
25 #define GICR_BASE			UL(0x17a60000)
26 #endif
27 
28 #endif /*PLATFORM_CONFIG_H*/
29