blob: 545365e1128383e18188f1c58374deb828f45f00 [file] [log] [blame]
Christophe Leroy1fc46f52022-10-14 12:54:50 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2022 CS Group
4 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
9/* Definitions for initial stack pointer and data area (in DPRAM) */
10#define CFG_SYS_INIT_RAM_ADDR (CONFIG_SYS_IMMR + 0x2800)
11#define CFG_SYS_INIT_RAM_SIZE (0x2e00 - 0x2800)
Christophe Leroye65975f2023-05-04 10:20:35 +020012#define CFG_SYS_INIT_SP (CONFIG_SYS_IMMR + 0x3c00)
Christophe Leroy1fc46f52022-10-14 12:54:50 +020013
14/* RAM configuration (note that CFG_SYS_SDRAM_BASE must be zero) */
15#define CFG_SYS_SDRAM_BASE 0x00000000
16
17/* FLASH Configuration */
18#define CFG_SYS_FLASH_BASE 0x40000000
19
20/*
21 * For booting Linux, the board info and command line data
22 * have to be in the first 24 MB of memory, since this is
23 * the maximum mapped by the Linux kernel during initialization.
24 */
25#define CFG_SYS_BOOTMAPSZ (32 << 20)
26
27/* NAND configuration part */
28#define CFG_SYS_NAND_BASE 0xC0000000
29
Christophe Leroy452fd722023-04-05 18:50:23 +020030/* Board names */
31#define CFG_BOARD_CMPCXXX "cmpc885"
32#define CFG_BOARD_MCR3000_2G "mcr3k_2g"
33#define CFG_BOARD_VGOIP "vgoip"
34#define CFG_BOARD_MIAE "miae"
35
Christophe Leroy1fc46f52022-10-14 12:54:50 +020036#endif /* __CONFIG_H */