blob: 83aaa09cdbb072e74136dc7fb2a7ee5d97b78a04 [file] [log] [blame]
Alexey Brodkin4b2705b2018-05-28 15:27:43 +03001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018 Synopsys, Inc. All rights reserved.
4 */
5
Alexey Brodkinddbf6972018-10-18 09:54:58 +03006#ifndef _CONFIG_EMSDP_H_
7#define _CONFIG_EMSDP_H_
Alexey Brodkin4b2705b2018-05-28 15:27:43 +03008
9#include <linux/sizes.h>
10
Tom Rinibb4dd962022-11-16 13:10:37 -050011#define CFG_SYS_SDRAM_BASE 0x10000000
12#define CFG_SYS_SDRAM_SIZE SZ_16M
Alexey Brodkin4b2705b2018-05-28 15:27:43 +030013
Alexey Brodkin4b2705b2018-05-28 15:27:43 +030014/*
15 * Environment
16 */
Alexey Brodkin4b2705b2018-05-28 15:27:43 +030017
Tom Rinic9edebe2022-12-04 10:03:50 -050018#define CFG_EXTRA_ENV_SETTINGS \
Alexey Brodkin4b2705b2018-05-28 15:27:43 +030019 "upgrade_image=u-boot.bin\0" \
Alexey Brodkinddbf6972018-10-18 09:54:58 +030020 "upgrade=emsdp rom unlock && " \
Alexey Brodkin4b2705b2018-05-28 15:27:43 +030021 "fatload mmc 0 ${loadaddr} ${upgrade_image} && " \
22 "cp.b ${loadaddr} 0 ${filesize} && " \
23 "dcache flush && " \
Alexey Brodkinddbf6972018-10-18 09:54:58 +030024 "emsdp rom lock\0"
Alexey Brodkin4b2705b2018-05-28 15:27:43 +030025
Alexey Brodkinddbf6972018-10-18 09:54:58 +030026#endif /* _CONFIG_EMSDP_H_ */