1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
6 #ifndef _CONFIG_NSIM_H_
7 #define _CONFIG_NSIM_H_
9 #include <linux/sizes.h>
12 * Memory configuration
14 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
16 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
17 #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
18 #define CONFIG_SYS_SDRAM_SIZE SZ_256M
20 #define CONFIG_SYS_INIT_SP_ADDR \
21 (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
23 #define CONFIG_SYS_MALLOC_LEN SZ_2M
24 #define CONFIG_SYS_BOOTM_LEN SZ_32M
25 #define CONFIG_SYS_LOAD_ADDR 0x82000000
31 #define CONFIG_ARC_SERIAL
34 * Command line configuration
38 * Environment settings
40 #define CONFIG_ENV_SIZE SZ_512
41 #define CONFIG_ENV_OFFSET 0
44 * Environment configuration
46 #define CONFIG_BOOTFILE "uImage"
47 #define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
50 * Console configuration
53 #endif /* _CONFIG_NSIM_H_ */