blob: b76230e9a4d030b5920ae5b25bb0815dfa87b8c9 [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)
12
13/* RAM configuration (note that CFG_SYS_SDRAM_BASE must be zero) */
14#define CFG_SYS_SDRAM_BASE 0x00000000
15
16/* FLASH Configuration */
17#define CFG_SYS_FLASH_BASE 0x40000000
18
19/*
20 * For booting Linux, the board info and command line data
21 * have to be in the first 24 MB of memory, since this is
22 * the maximum mapped by the Linux kernel during initialization.
23 */
24#define CFG_SYS_BOOTMAPSZ (32 << 20)
25
26/* NAND configuration part */
27#define CFG_SYS_NAND_BASE 0xC0000000
28
Christophe Leroy452fd722023-04-05 18:50:23 +020029/* Board names */
30#define CFG_BOARD_CMPCXXX "cmpc885"
31#define CFG_BOARD_MCR3000_2G "mcr3k_2g"
32#define CFG_BOARD_VGOIP "vgoip"
33#define CFG_BOARD_MIAE "miae"
34
Christophe Leroy1fc46f52022-10-14 12:54:50 +020035#endif /* __CONFIG_H */