]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/magnesium.h
CONFIGS: peach-pit: Enable display for peach_pit board
[karo-tx-uboot.git] / include / configs / magnesium.h
1 /*
2  * Copyright (C) 2010 Heiko Schocher <hs@denx.de>
3  *
4  * based on:
5  * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #ifndef __CONFIG_H
11 #define __CONFIG_H
12
13 /* include common defines/options for all imx27lite related boards */
14 #include "imx27lite-common.h"
15
16 /*
17  * SoC Configuration
18  */
19 #define CONFIG_MAGNESIUM
20 #define CONFIG_HOSTNAME         magnesium
21 #define CONFIG_BOARDNAME        "Projectiondesign magnesium\n"
22
23 /*
24  * Flash & Environment
25  */
26 #define CONFIG_SYS_FLASH_SECT_SZ        0x8000  /* 64KB sect size */
27 #define CONFIG_ENV_OFFSET               (PHYS_FLASH_SIZE - 0x40000)
28 #define PHYS_FLASH_SIZE                 0x800000
29 #define CONFIG_ENV_SECT_SIZE            0x20000         /* Env sector Size */
30
31 /*
32  * NAND
33  */
34 #define CONFIG_SYS_NAND_LARGEPAGE
35
36 /*
37  * SD/MMC
38  */
39 #define CONFIG_MXC_MCI_REGS_BASE        0x10013000
40
41 /*
42  * MTD partitions
43  */
44 #define MTDIDS_DEFAULT          "nor0=physmap-flash.0,nand0=mxc_nand.0"
45 #define MTDPARTS_DEFAULT                        \
46         "mtdparts="                             \
47                 "physmap-flash.0:"              \
48                         "256k(U-Boot),"         \
49                         "7680k(user),"          \
50                         "128k(env1),"           \
51                         "128k(env2);"           \
52                 "mxc_nand.0:"                   \
53                         "128k(IPL-SPL),"        \
54                         "4m(kernel),"           \
55                         "22m(rootfs),"          \
56                         "-(userfs)"
57
58 #endif /* __CONFIG_H */