blob: de07b6b15f6dc43b558108662572d25860ffc70d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Alexey Brodkin66712b82014-02-04 12:56:18 +04002/*
Alexey Brodkincc8be222016-08-04 14:35:01 +03003 * Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
Alexey Brodkin66712b82014-02-04 12:56:18 +04004 */
5
Alexey Brodkincc8be222016-08-04 14:35:01 +03006#ifndef _CONFIG_NSIM_H_
7#define _CONFIG_NSIM_H_
8
9#include <linux/sizes.h>
Alexey Brodkin66712b82014-02-04 12:56:18 +040010
11/*
Alexey Brodkin66712b82014-02-04 12:56:18 +040012 * Memory configuration
13 */
Alexey Brodkin66712b82014-02-04 12:56:18 +040014
15#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
16#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
Alexey Brodkincc8be222016-08-04 14:35:01 +030017#define CONFIG_SYS_SDRAM_SIZE SZ_256M
Alexey Brodkin66712b82014-02-04 12:56:18 +040018
19#define CONFIG_SYS_INIT_SP_ADDR \
20 (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
21
Alexey Brodkincc8be222016-08-04 14:35:01 +030022#define CONFIG_SYS_BOOTM_LEN SZ_32M
Alexey Brodkin66712b82014-02-04 12:56:18 +040023
Alexey Brodkin66712b82014-02-04 12:56:18 +040024/*
Alexey Brodkin66712b82014-02-04 12:56:18 +040025 * Console configuration
26 */
Alexey Brodkin66712b82014-02-04 12:56:18 +040027
Alexey Brodkincc8be222016-08-04 14:35:01 +030028#endif /* _CONFIG_NSIM_H_ */