Sumit Garg | 82d45c1 | 2018-06-15 13:41:59 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef __PLATFORM_DEF_H__ |
| 8 | #define __PLATFORM_DEF_H__ |
| 9 | |
| 10 | #include <common_def.h> |
| 11 | |
| 12 | #define CACHE_WRITEBACK_SHIFT 6 |
| 13 | #define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT) |
| 14 | |
| 15 | #define PLATFORM_STACK_SIZE 0x400 |
| 16 | |
| 17 | #define BL31_BASE 0x04000000 |
| 18 | #define BL31_SIZE 0x00080000 |
| 19 | #define BL31_LIMIT (BL31_BASE + BL31_SIZE) |
| 20 | |
Sumit Garg | 84711f9 | 2018-06-15 14:34:42 +0530 | [diff] [blame^] | 21 | /* UART related constants */ |
| 22 | #define PLAT_SQ_BOOT_UART_BASE 0x2A400000 |
| 23 | #define PLAT_SQ_BOOT_UART_CLK_IN_HZ 62500000 |
| 24 | #define SQ_CONSOLE_BAUDRATE 115200 |
| 25 | |
Sumit Garg | 3817202 | 2018-06-15 13:48:11 +0530 | [diff] [blame] | 26 | #define SQ_BOOT_CFG_ADDR 0x45410000 |
| 27 | #define PLAT_SQ_PRIMARY_CPU_SHIFT 8 |
| 28 | #define PLAT_SQ_PRIMARY_CPU_BIT_WIDTH 6 |
| 29 | |
Sumit Garg | 82d45c1 | 2018-06-15 13:41:59 +0530 | [diff] [blame] | 30 | #endif /* __PLATFORM_DEF_H__ */ |