2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2017-07-07 08:16:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010-2017 CS Systemes d'Information
|
|
|
|
* Christophe Leroy <christophe.leroy@c-s.fr>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/* High Level Configuration Options */
|
|
|
|
|
|
|
|
/* Miscellaneous configurable options */
|
|
|
|
|
|
|
|
/* Definitions for initial stack pointer and data area (in DPRAM) */
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_INIT_RAM_ADDR (CONFIG_SYS_IMMR + 0x2800)
|
|
|
|
#define CFG_SYS_INIT_RAM_SIZE (0x2e00 - 0x2800)
|
2023-05-04 08:20:35 +00:00
|
|
|
#define CFG_SYS_INIT_SP (CONFIG_SYS_IMMR + 0x3c00)
|
2017-07-07 08:16:42 +00:00
|
|
|
|
2022-11-16 18:10:37 +00:00
|
|
|
/* RAM configuration (note that CFG_SYS_SDRAM_BASE must be zero) */
|
|
|
|
#define CFG_SYS_SDRAM_BASE 0x00000000
|
2017-07-07 08:16:42 +00:00
|
|
|
|
|
|
|
/* FLASH organization */
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_FLASH_BASE CONFIG_TEXT_BASE
|
2017-07-07 08:16:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* For booting Linux, the board info and command line data
|
2023-02-06 18:33:53 +00:00
|
|
|
* have to be in the first 32 MB of memory, since this is
|
2017-07-07 08:16:42 +00:00
|
|
|
* the maximum mapped by the Linux kernel during initialization.
|
|
|
|
*/
|
2023-02-06 18:33:53 +00:00
|
|
|
#define CFG_SYS_BOOTMAPSZ (32 << 20)
|
2017-07-07 08:16:42 +00:00
|
|
|
|
|
|
|
/* Environment Configuration */
|
|
|
|
|
|
|
|
/* environment is in FLASH */
|
|
|
|
|
|
|
|
/* Ethernet configuration part */
|
|
|
|
|
|
|
|
/* NAND configuration part */
|
2022-11-12 22:36:51 +00:00
|
|
|
#define CFG_SYS_NAND_BASE 0x0C000000
|
2017-07-07 08:16:42 +00:00
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|