diff options
author | Alexey Brodkin <alexey.brodkin@synopsys.com> | 2018-10-18 09:54:58 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2018-11-01 23:04:05 +0300 |
commit | adc9b09a23f3cfef56130abc4c4c1a9085a0ec13 (patch) | |
tree | e0f697c49f0e718ef58da575c172b51a7420b905 /include/configs/emsdp.h | |
parent | fdaccfeb5e03e18c05be386b8a7c6be02be2cf15 (diff) | |
download | u-boot-adc9b09a23f3cfef56130abc4c4c1a9085a0ec13.tar.gz |
emdk->emsdp: Rename board
Real marketing name of the board was recently updated so
to accommodate that change renaming the board and all
related to it.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'include/configs/emsdp.h')
-rw-r--r-- | include/configs/emsdp.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/configs/emsdp.h b/include/configs/emsdp.h new file mode 100644 index 0000000000..385d59e338 --- /dev/null +++ b/include/configs/emsdp.h @@ -0,0 +1,40 @@ +/* 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 CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE + +#define CONFIG_SYS_SDRAM_BASE 0x10000000 +#define CONFIG_SYS_SDRAM_SIZE SZ_8M + +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_1M) + +#define CONFIG_SYS_MALLOC_LEN SZ_64K +#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE + +/* Required by DW MMC driver */ +#define CONFIG_BOUNCE_BUFFER + +/* + * Environment + */ +#define CONFIG_ENV_SIZE SZ_4K +#define CONFIG_BOOTFILE "app.bin" +#define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR + +#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_ */ + |