Merge tag 'u-boot-rockchip-20191124' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / include / configs / nsim.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
4  */
5
6 #ifndef _CONFIG_NSIM_H_
7 #define _CONFIG_NSIM_H_
8
9 #include <linux/sizes.h>
10
11 /*
12  * Memory configuration
13  */
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
18 #define CONFIG_SYS_SDRAM_SIZE           SZ_256M
19
20 #define CONFIG_SYS_INIT_SP_ADDR         \
21         (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
22
23 #define CONFIG_SYS_MALLOC_LEN           SZ_2M
24 #define CONFIG_SYS_BOOTM_LEN            SZ_32M
25 #define CONFIG_SYS_LOAD_ADDR            0x82000000
26
27 /*
28  * Environment configuration
29  */
30 #define CONFIG_BOOTFILE                 "uImage"
31 #define CONFIG_LOADADDR                 CONFIG_SYS_LOAD_ADDR
32
33 /*
34  * Console configuration
35  */
36
37 #endif /* _CONFIG_NSIM_H_ */