Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h
[platform/kernel/u-boot.git] / include / configs / pomelo.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2021
4  * lixinde         <lixinde@phytium.com.cn>
5  * weichangzheng   <weichangzheng@phytium.com.cn>
6  */
7
8 #ifndef __POMELO_CONFIG_H__
9 #define __POMELO_CONFIG_H__
10
11 /* SDRAM Bank #1 start address */
12 #define CONFIG_SYS_SDRAM_BASE           0x80000000
13
14 /* SIZE of malloc pool */
15
16 /*BOOT*/
17 #define CONFIG_SYS_BOOTM_LEN            0x3c00000
18
19 #ifndef CONFIG_SPL_BUILD
20 #define BOOT_TARGET_DEVICES(func) \
21         func(SCSI, scsi, 0) \
22
23 #include <config_distro_bootcmd.h>
24 #endif
25
26 /* Initial environment variables */
27 #define CONFIG_EXTRA_ENV_SETTINGS               \
28         "image=Image\0" \
29         BOOTENV \
30         "scriptaddr=0x90100000\0" \
31         "kernel_addr_r=0x90200000\0" \
32         "fdt_addr_r=0x95000000\0"                       \
33         "boot_fit=no\0" \
34         "fdtfile=phytium-pomelo.dtb\0" \
35
36 #endif
37