1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2018 Synopsys, Inc. All rights reserved.
6 #ifndef _CONFIG_EMSDP_H_
7 #define _CONFIG_EMSDP_H_
9 #include <linux/sizes.h>
11 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
13 #define CONFIG_SYS_SDRAM_BASE 0x10000000
14 #define CONFIG_SYS_SDRAM_SIZE SZ_16M
16 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_1M)
21 #define CONFIG_BOOTFILE "app.bin"
23 #define CONFIG_EXTRA_ENV_SETTINGS \
24 "upgrade_image=u-boot.bin\0" \
25 "upgrade=emsdp rom unlock && " \
26 "fatload mmc 0 ${loadaddr} ${upgrade_image} && " \
27 "cp.b ${loadaddr} 0 ${filesize} && " \
31 #endif /* _CONFIG_EMSDP_H_ */