blob: 7ef0f13d953104eaae8862297a2ed3bbe682fe3d [file] [log] [blame]
Sumit Garg82d45c12018-06-15 13:41:59 +05301/*
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 Garg84711f92018-06-15 14:34:42 +053021/* 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 Garg38172022018-06-15 13:48:11 +053026#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 Garg82d45c12018-06-15 13:41:59 +053030#endif /* __PLATFORM_DEF_H__ */