2018-05-28 12:27:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Synopsys, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
2018-10-18 06:54:58 +00:00
|
|
|
#ifndef _CONFIG_EMSDP_H_
|
|
|
|
#define _CONFIG_EMSDP_H_
|
2018-05-28 12:27:43 +00:00
|
|
|
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
|
2022-11-16 18:10:37 +00:00
|
|
|
#define CFG_SYS_SDRAM_BASE 0x10000000
|
|
|
|
#define CFG_SYS_SDRAM_SIZE SZ_16M
|
2018-05-28 12:27:43 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Environment
|
|
|
|
*/
|
|
|
|
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2018-05-28 12:27:43 +00:00
|
|
|
"upgrade_image=u-boot.bin\0" \
|
2018-10-18 06:54:58 +00:00
|
|
|
"upgrade=emsdp rom unlock && " \
|
2018-05-28 12:27:43 +00:00
|
|
|
"fatload mmc 0 ${loadaddr} ${upgrade_image} && " \
|
|
|
|
"cp.b ${loadaddr} 0 ${filesize} && " \
|
|
|
|
"dcache flush && " \
|
2018-10-18 06:54:58 +00:00
|
|
|
"emsdp rom lock\0"
|
2018-05-28 12:27:43 +00:00
|
|
|
|
2018-10-18 06:54:58 +00:00
|
|
|
#endif /* _CONFIG_EMSDP_H_ */
|