cm_t335: add support for status LED
[platform/kernel/u-boot.git] / include / configs / imx27lite.h
1 /*
2  * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9
10 /* include common defines/options for all imx27lite related boards */
11 #include "imx27lite-common.h"
12 /*
13  * SoC Configuration
14  */
15 #define CONFIG_IMX27LITE
16 #define CONFIG_HOSTNAME         imx27
17 #define CONFIG_BOARDNAME        "LogicPD imx27lite\n"
18
19 /*
20  * Flash & Environment
21  */
22 #define CONFIG_SYS_FLASH_SECT_SZ        0x2000  /* 8KB sect size Intel Flash */
23 #define CONFIG_ENV_OFFSET               (PHYS_FLASH_SIZE - 0x20000)
24 #define PHYS_FLASH_SIZE                 0x200000
25 #define CONFIG_ENV_SECT_SIZE            0x10000         /* Env sector Size */
26
27 /*
28  * SD/MMC
29  */
30 #define CONFIG_MXC_MCI_REGS_BASE        0x10014000
31
32 /*
33  * MTD partitions
34  */
35 #define MTDIDS_DEFAULT          "nor0=physmap-flash.0,nand0=mxc_nand.0"
36 #define MTDPARTS_DEFAULT                        \
37         "mtdparts="                             \
38                 "physmap-flash.0:"              \
39                         "256k(U-Boot),"         \
40                         "1664k(user),"          \
41                         "64k(env1),"            \
42                         "64k(env2);"            \
43                 "mxc_nand.0:"                   \
44                         "128k(IPL-SPL),"        \
45                         "4m(kernel),"           \
46                         "22m(rootfs),"          \
47                         "-(userfs)"
48
49 #endif /* __CONFIG_H */