blob: 0f22606feed5c284867a3cab05f7de7615425974 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Alexey Brodkina87178d2014-02-04 12:56:18 +04002/*
Alexey Brodkin1a116372016-08-04 14:35:01 +03003 * Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
Alexey Brodkina87178d2014-02-04 12:56:18 +04004 */
5
Alexey Brodkin1a116372016-08-04 14:35:01 +03006#ifndef _CONFIG_NSIM_H_
7#define _CONFIG_NSIM_H_
8
9#include <linux/sizes.h>
Alexey Brodkina87178d2014-02-04 12:56:18 +040010
11/*
Alexey Brodkina87178d2014-02-04 12:56:18 +040012 * Memory configuration
13 */
Alexey Brodkina87178d2014-02-04 12:56:18 +040014#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
15
16#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
17#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
Alexey Brodkin1a116372016-08-04 14:35:01 +030018#define CONFIG_SYS_SDRAM_SIZE SZ_256M
Alexey Brodkina87178d2014-02-04 12:56:18 +040019
20#define CONFIG_SYS_INIT_SP_ADDR \
21 (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
22
Alexey Brodkin1a116372016-08-04 14:35:01 +030023#define CONFIG_SYS_MALLOC_LEN SZ_2M
24#define CONFIG_SYS_BOOTM_LEN SZ_32M
Alexey Brodkina87178d2014-02-04 12:56:18 +040025#define CONFIG_SYS_LOAD_ADDR 0x82000000
26
Alexey Brodkina87178d2014-02-04 12:56:18 +040027/*
28 * UART configuration
29 *
30 */
31#define CONFIG_ARC_SERIAL
Alexey Brodkina87178d2014-02-04 12:56:18 +040032
33/*
34 * Command line configuration
35 */
Alexey Brodkina87178d2014-02-04 12:56:18 +040036
37/*
38 * Environment settings
39 */
Alexey Brodkin1a116372016-08-04 14:35:01 +030040#define CONFIG_ENV_SIZE SZ_512
Alexey Brodkina87178d2014-02-04 12:56:18 +040041#define CONFIG_ENV_OFFSET 0
42
43/*
44 * Environment configuration
45 */
Alexey Brodkina87178d2014-02-04 12:56:18 +040046#define CONFIG_BOOTFILE "uImage"
Alexey Brodkina87178d2014-02-04 12:56:18 +040047#define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
48
49/*
50 * Console configuration
51 */
Alexey Brodkina87178d2014-02-04 12:56:18 +040052
Alexey Brodkin1a116372016-08-04 14:35:01 +030053#endif /* _CONFIG_NSIM_H_ */