xref: /rk3399_rockchip-uboot/include/configs/stih410-b2260.h (revision 1f20fc53b382ece8da7440f354b219deb7ed19df)
1*5cc16d88SPatrice Chotard /*
2*5cc16d88SPatrice Chotard  * (C) Copyright 2017
3*5cc16d88SPatrice Chotard  * Patrice Chotard, <patrice.chotard@st.com>
4*5cc16d88SPatrice Chotard  *
5*5cc16d88SPatrice Chotard  * SPDX-License-Identifier:	GPL-2.0+
6*5cc16d88SPatrice Chotard  */
7*5cc16d88SPatrice Chotard 
8*5cc16d88SPatrice Chotard #ifndef __CONFIG_H
9*5cc16d88SPatrice Chotard #define __CONFIG_H
10*5cc16d88SPatrice Chotard 
11*5cc16d88SPatrice Chotard /* ram memory-related information */
12*5cc16d88SPatrice Chotard #define CONFIG_NR_DRAM_BANKS		1
13*5cc16d88SPatrice Chotard #define PHYS_SDRAM_1			0x40000000
14*5cc16d88SPatrice Chotard #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
15*5cc16d88SPatrice Chotard #define PHYS_SDRAM_1_SIZE		0x3FE00000
16*5cc16d88SPatrice Chotard #define CONFIG_SYS_TEXT_BASE		0x7D600000
17*5cc16d88SPatrice Chotard #define CONFIG_SYS_LOAD_ADDR		PHYS_SDRAM_1	/* default load addr */
18*5cc16d88SPatrice Chotard 
19*5cc16d88SPatrice Chotard #define CONFIG_SYS_HZ_CLOCK		1000000000	/* 1 GHz */
20*5cc16d88SPatrice Chotard 
21*5cc16d88SPatrice Chotard /* Environment */
22*5cc16d88SPatrice Chotard #define CONFIG_EXTRA_ENV_SETTINGS \
23*5cc16d88SPatrice Chotard 	"board= B2260" \
24*5cc16d88SPatrice Chotard 	"load_addr= #CONFIG_SYS_LOAD_ADDR \0"
25*5cc16d88SPatrice Chotard 
26*5cc16d88SPatrice Chotard #define CONFIG_ENV_SIZE 0x4000
27*5cc16d88SPatrice Chotard 
28*5cc16d88SPatrice Chotard /* Extra Commands */
29*5cc16d88SPatrice Chotard #define CONFIG_CMD_ASKENV
30*5cc16d88SPatrice Chotard #define CONFIG_SYS_LONGHELP
31*5cc16d88SPatrice Chotard 
32*5cc16d88SPatrice Chotard #define CONFIG_SETUP_MEMORY_TAGS
33*5cc16d88SPatrice Chotard 
34*5cc16d88SPatrice Chotard /* Size of malloc() pool */
35*5cc16d88SPatrice Chotard #define CONFIG_SYS_MALLOC_LEN		0x1800000
36*5cc16d88SPatrice Chotard #define CONFIG_SYS_GBL_DATA_SIZE	1024	/* Global data structures */
37*5cc16d88SPatrice Chotard #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE - \
38*5cc16d88SPatrice Chotard 					 CONFIG_SYS_MALLOC_LEN - \
39*5cc16d88SPatrice Chotard 					 CONFIG_SYS_GBL_DATA_SIZE)
40*5cc16d88SPatrice Chotard 
41*5cc16d88SPatrice Chotard /* Monitor Command Prompt */
42*5cc16d88SPatrice Chotard #define CONFIG_SYS_CBSIZE		1024	/* Console I/O Buffer Size */
43*5cc16d88SPatrice Chotard 
44*5cc16d88SPatrice Chotard #define CONFIG_SYS_MAX_FLASH_BANKS	1
45*5cc16d88SPatrice Chotard 
46*5cc16d88SPatrice Chotard #define CONFIG_SKIP_LOWLEVEL_INIT
47*5cc16d88SPatrice Chotard 
48*5cc16d88SPatrice Chotard #endif /* __CONFIG_H */
49