Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 2 | /* |
Alexey Brodkin | cc8be22 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 3 | * Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved. |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 4 | */ |
| 5 | |
Alexey Brodkin | cc8be22 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 6 | #ifndef _CONFIG_NSIM_H_ |
| 7 | #define _CONFIG_NSIM_H_ |
| 8 | |
| 9 | #include <linux/sizes.h> |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 10 | |
| 11 | /* |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 12 | * Memory configuration |
| 13 | */ |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 14 | #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 Brodkin | cc8be22 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 18 | #define CONFIG_SYS_SDRAM_SIZE SZ_256M |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 19 | |
| 20 | #define CONFIG_SYS_INIT_SP_ADDR \ |
| 21 | (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE) |
| 22 | |
Alexey Brodkin | cc8be22 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 23 | #define CONFIG_SYS_MALLOC_LEN SZ_2M |
| 24 | #define CONFIG_SYS_BOOTM_LEN SZ_32M |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 25 | #define CONFIG_SYS_LOAD_ADDR 0x82000000 |
| 26 | |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 27 | /* |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 28 | * Environment configuration |
| 29 | */ |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 30 | #define CONFIG_BOOTFILE "uImage" |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 31 | #define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR |
| 32 | |
| 33 | /* |
| 34 | * Console configuration |
| 35 | */ |
Alexey Brodkin | 66712b8 | 2014-02-04 12:56:18 +0400 | [diff] [blame] | 36 | |
Alexey Brodkin | cc8be22 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 37 | #endif /* _CONFIG_NSIM_H_ */ |