Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h
[platform/kernel/u-boot.git] / include / configs / emsdp.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2018 Synopsys, Inc. All rights reserved.
4  */
5
6 #ifndef _CONFIG_EMSDP_H_
7 #define _CONFIG_EMSDP_H_
8
9 #include <linux/sizes.h>
10
11 #define CONFIG_SYS_SDRAM_BASE           0x10000000
12 #define CONFIG_SYS_SDRAM_SIZE           SZ_16M
13
14 /*
15  * Environment
16  */
17
18 #define CONFIG_EXTRA_ENV_SETTINGS \
19         "upgrade_image=u-boot.bin\0" \
20         "upgrade=emsdp rom unlock && " \
21                 "fatload mmc 0 ${loadaddr} ${upgrade_image} && " \
22                 "cp.b ${loadaddr} 0 ${filesize} && " \
23                 "dcache flush && " \
24                 "emsdp rom lock\0"
25
26 #endif /* _CONFIG_EMSDP_H_ */