colibri_imx6ull/imx7: add missing tdxargs variable
[platform/kernel/u-boot.git] / include / configs / aspeed-common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2012-2020  ASPEED Technology Inc.
4  * Ryan Chen <ryan_chen@aspeedtech.com>
5  *
6  * Copyright 2016 IBM Corporation
7  * (C) Copyright 2016 Google, Inc
8  */
9
10 #ifndef _ASPEED_COMMON_CONFIG_H
11 #define _ASPEED_COMMON_CONFIG_H
12
13 #include <asm/arch/platform.h>
14
15 /* Misc CPU related */
16 #define CONFIG_CMDLINE_TAG
17 #define CONFIG_SETUP_MEMORY_TAGS
18 #define CONFIG_INITRD_TAG
19
20 #define CONFIG_SYS_SDRAM_BASE           ASPEED_DRAM_BASE
21
22 #ifdef CONFIG_PRE_CON_BUF_SZ
23 #define CONFIG_SYS_INIT_RAM_ADDR        (ASPEED_SRAM_BASE + CONFIG_PRE_CON_BUF_SZ)
24 #define CONFIG_SYS_INIT_RAM_SIZE        (ASPEED_SRAM_SIZE - CONFIG_PRE_CON_BUF_SZ)
25 #else
26 #define CONFIG_SYS_INIT_RAM_ADDR        (ASPEED_SRAM_BASE)
27 #define CONFIG_SYS_INIT_RAM_SIZE        (ASPEED_SRAM_SIZE)
28 #endif
29
30 #define SYS_INIT_RAM_END                (CONFIG_SYS_INIT_RAM_ADDR \
31                                          + CONFIG_SYS_INIT_RAM_SIZE)
32 #define CONFIG_SYS_INIT_SP_ADDR         (SYS_INIT_RAM_END \
33                                          - GENERATED_GBL_DATA_SIZE)
34
35 #define CONFIG_SYS_MALLOC_LEN           (32 << 20)
36
37 /*
38  * NS16550 Configuration
39  */
40
41 /*
42  * BOOTP options
43  */
44 #define CONFIG_BOOTP_BOOTFILESIZE
45
46 /*
47  * Miscellaneous configurable options
48  */
49
50 #define CONFIG_EXTRA_ENV_SETTINGS \
51         "verify=yes\0"  \
52         "spi_dma=yes\0" \
53         ""
54
55 #endif  /* __AST_COMMON_CONFIG_H */