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 /* DDR reserved*/ 22 #define RAMBLUR_PIMEM_VAULT_TA_BASE ULL(0xc1800000) 23 #define RAMBLUR_PIMEM_VAULT_TA_SIZE ULL(0x01c00000) 24 25 #define GENI_UART_REG_BASE UL(0x994000) 26 #define RAMBLUR_PIMEM_REG_BASE UL(0x610000) 27 #define SEC_PRNG_REG_BASE UL(0x010D1000) 28 29 /* GIC related constants */ 30 #define GICD_BASE UL(0x17a00000) 31 #define GICR_BASE UL(0x17a60000) 32 #endif 33 34 #endif /*PLATFORM_CONFIG_H*/ 35