mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 14:53:06 +00:00
eaf6ea6a1d
- Make all users of CUSTOM_SYS_INIT_SP_ADDR reference SYS_INIT_SP_ADDR - Introduce HAS_CUSTOM_SYS_INIT_SP_ADDR to allow for setting the stack pointer directly, otherwise we use the common calculation. - On some platforms that were using the standard calculation but did not set CONFIG_SYS_INIT_RAM_SIZE / CONFIG_SYS_INIT_RAM_ADDR, set them. - On a small number of platforms that were not subtracting GENERATED_GBL_DATA_SIZE do so now via the standard calculation. - CONFIG_SYS_INIT_SP_OFFSET is now widely unused, so remove it from most board config header files. Signed-off-by: Tom Rini <trini@konsulko.com>
55 lines
1.5 KiB
C
55 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration for Total Compute platform. Parts were derived from other ARM
|
|
* configurations.
|
|
* (C) Copyright 2020 Arm Limited
|
|
* Usama Arif <usama.arif@arm.com>
|
|
*/
|
|
|
|
#ifndef __TOTAL_COMPUTE_H
|
|
#define __TOTAL_COMPUTE_H
|
|
|
|
/* Link Definitions */
|
|
|
|
#define CONFIG_SYS_BOOTM_LEN (64 << 20)
|
|
|
|
#define UART0_BASE 0x7ff80000
|
|
|
|
/* PL011 Serial Configuration */
|
|
#define CONFIG_PL011_CLOCK 7372800
|
|
|
|
/* Miscellaneous configurable options */
|
|
|
|
/* Physical Memory Map */
|
|
#define PHYS_SDRAM_1 0x80000000
|
|
/* Top 48MB reserved for secure world use */
|
|
#define DRAM_SEC_SIZE 0x03000000
|
|
#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE
|
|
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
|
|
|
|
#define PHYS_SDRAM_2 0x8080000000
|
|
#define PHYS_SDRAM_2_SIZE 0x180000000
|
|
|
|
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
"bootm_size=0x20000000\0" \
|
|
"load_addr=0xa0000000\0" \
|
|
"kernel_addr_r=0x80080000\0" \
|
|
"initrd_addr_r=0x88000000\0" \
|
|
"fdt_addr_r=0x83000000\0"
|
|
/*
|
|
* If vbmeta partition is present, boot Android with verification using AVB.
|
|
* Else if system partition is present (no vbmeta partition), boot Android
|
|
* without verification (for development purposes).
|
|
* Else boot FIT image.
|
|
*/
|
|
|
|
#define CONFIG_SYS_FLASH_BASE 0x0C000000
|
|
/* 256 x 256KiB sectors */
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 256
|
|
|
|
#define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */
|
|
#define FLASH_MAX_SECTOR_SIZE 0x00040000
|
|
|
|
#endif /* __TOTAL_COMPUTE_H */
|