mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
e4d741f8ab
This converts the following to Kconfig: CONFIG_SYS_MONITOR_BASE Note that for how this is re-used on some PowePC platforms, we introduce CONFIG_SPL_SYS_MONITOR_BASE and CONFIG_TPL_SYS_MONITOR_BASE and use the CONFIG_VAL macro to get the correct value at build time, in the code. Signed-off-by: Tom Rini <trini@konsulko.com>
28 lines
624 B
C
28 lines
624 B
C
/* 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_SDRAM_BASE 0x10000000
|
|
#define CONFIG_SYS_SDRAM_SIZE SZ_16M
|
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_1M)
|
|
|
|
/*
|
|
* 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_ */
|