1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2010-2017 CS Systemes d'Information
4  * Christophe Leroy <christophe.leroy@c-s.fr>
5  */
6 
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9 
10 /* High Level Configuration Options */
11 
12 /* Miscellaneous configurable options */
13 
14 /* Definitions for initial stack pointer and data area (in DPRAM) */
15 #define CFG_SYS_INIT_RAM_ADDR	(CONFIG_SYS_IMMR + 0x2800)
16 #define	CFG_SYS_INIT_RAM_SIZE	(0x2e00 - 0x2800)
17 #define CFG_SYS_INIT_SP		(CONFIG_SYS_IMMR + 0x3c00)
18 
19 /* RAM configuration (note that CFG_SYS_SDRAM_BASE must be zero) */
20 #define	CFG_SYS_SDRAM_BASE		0x00000000
21 
22 /* FLASH organization */
23 #define CFG_SYS_FLASH_BASE		CONFIG_TEXT_BASE
24 
25 /*
26  * For booting Linux, the board info and command line data
27  * have to be in the first 32 MB of memory, since this is
28  * the maximum mapped by the Linux kernel during initialization.
29  */
30 #define	CFG_SYS_BOOTMAPSZ		(32 << 20)
31 
32 /* Environment Configuration */
33 
34 /* environment is in FLASH */
35 
36 /* Ethernet configuration part */
37 
38 /* NAND configuration part */
39 #define CFG_SYS_NAND_BASE		0x0C000000
40 
41 #endif /* __CONFIG_H */
42