blob: 4fb7744bae76b1aa077ae0c452a187d15a8c6be5 [file] [log] [blame]
Heiko Schocherc8f51122010-03-05 07:36:33 +01001/*
2 * Copyright (C) 2010 Heiko Schocher <hs@denx.de>
3 *
4 * based on:
5 * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20 * MA 02111-1307 USA
21 */
22
23#ifndef __CONFIG_H
24#define __CONFIG_H
25
26/* include common defines/options for all imx27lite related boards */
27#include "imx27lite-common.h"
28
29/*
30 * SoC Configuration
31 */
32#define CONFIG_MAGNESIUM
33#define CONFIG_HOSTNAME magnesium
34#define CONFIG_BOARDNAME "Projectiondesign magnesium\n"
35
36/*
37 * Flash & Environment
38 */
39#define CONFIG_SYS_FLASH_SECT_SZ 0x8000 /* 64KB sect size */
40#define CONFIG_ENV_OFFSET (PHYS_FLASH_SIZE - 0x40000)
41#define PHYS_FLASH_SIZE 0x800000
42#define CONFIG_ENV_SECT_SIZE 0x20000 /* Env sector Size */
43
44/*
45 * NAND
46 */
47#define CONFIG_SYS_NAND_LARGEPAGE
48
49/*
50 * SD/MMC
51 */
52#define CONFIG_MXC_MCI_REGS_BASE 0x10013000
53
54/*
55 * MTD partitions
56 */
57#define MTDIDS_DEFAULT "nor0=physmap-flash.0,nand0=mxc_nand.0"
58#define MTDPARTS_DEFAULT \
59 "mtdparts=" \
60 "physmap-flash.0:" \
61 "256k(U-Boot)," \
62 "7680k(user)," \
63 "128k(env1)," \
64 "128k(env2);" \
65 "mxc_nand.0:" \
66 "128k(IPL-SPL)," \
67 "4m(kernel)," \
68 "22m(rootfs)," \
69 "-(userfs)"
70
71#endif /* __CONFIG_H */