summaryrefslogtreecommitdiff
path: root/include/configs/emsdp.h
blob: c2b921e7cb8b26fa1ae3df83eed31e7eeee88809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (C) 2018 Synopsys, Inc. All rights reserved.
 */

#ifndef _CONFIG_EMSDP_H_
#define _CONFIG_EMSDP_H_

#include <linux/sizes.h>

#define CFG_SYS_SDRAM_BASE		0x10000000
#define CFG_SYS_SDRAM_SIZE		SZ_16M

/*
 * Environment
 */

#define CONFIG_EXTRA_ENV_SETTINGS \
	"upgrade_image=u-boot.bin\0" \
	"upgrade=emsdp rom unlock && " \
		"fatload mmc 0 ${loadaddr} ${upgrade_image} && " \
		"cp.b ${loadaddr} 0 ${filesize} && " \
		"dcache flush && " \
		"emsdp rom lock\0"

#endif /* _CONFIG_EMSDP_H_ */