blob: 7c77a8d53690b74ee0b0dace8b65ef1fd61907f9 [file] [log] [blame]
Usama Arif9218a112020-08-12 16:12:53 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration for Total Compute platform. Parts were derived from other ARM
4 * configurations.
5 * (C) Copyright 2020 Arm Limited
6 * Usama Arif <usama.arif@arm.com>
7 */
8
9#ifndef __TOTAL_COMPUTE_H
10#define __TOTAL_COMPUTE_H
11
Usama Arif9218a112020-08-12 16:12:53 +010012/* Link Definitions */
Usama Arif9218a112020-08-12 16:12:53 +010013
Usama Arif9218a112020-08-12 16:12:53 +010014#define UART0_BASE 0x7ff80000
15
Usama Arif9218a112020-08-12 16:12:53 +010016/* PL011 Serial Configuration */
17#define CONFIG_PL011_CLOCK 7372800
18
19/* Miscellaneous configurable options */
Usama Arif9218a112020-08-12 16:12:53 +010020
21/* Physical Memory Map */
22#define PHYS_SDRAM_1 0x80000000
23/* Top 48MB reserved for secure world use */
24#define DRAM_SEC_SIZE 0x03000000
25#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE
26#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
27
Usama Arif3e44c082021-10-12 13:43:16 +010028#define PHYS_SDRAM_2 0x8080000000
29#define PHYS_SDRAM_2_SIZE 0x180000000
30
Usama Arif9218a112020-08-12 16:12:53 +010031#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
Usama Arif9218a112020-08-12 16:12:53 +010032
33#define CONFIG_EXTRA_ENV_SETTINGS \
34 "bootm_size=0x20000000\0" \
35 "load_addr=0xa0000000\0" \
36 "kernel_addr_r=0x80080000\0" \
37 "initrd_addr_r=0x88000000\0" \
38 "fdt_addr_r=0x83000000\0"
39/*
40 * If vbmeta partition is present, boot Android with verification using AVB.
41 * Else if system partition is present (no vbmeta partition), boot Android
42 * without verification (for development purposes).
43 * Else boot FIT image.
44 */
Usama Arif9218a112020-08-12 16:12:53 +010045
Usama Arif9218a112020-08-12 16:12:53 +010046#define CONFIG_SYS_FLASH_BASE 0x0C000000
Usama Arif9218a112020-08-12 16:12:53 +010047
48#endif /* __TOTAL_COMPUTE_H */