mx6qsabrelite: add i2c multi-bus support
[platform/kernel/u-boot.git] / include / configs / imx27lite.h
1 /*
2  * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17  * MA 02111-1307 USA
18  */
19
20 #ifndef __CONFIG_H
21 #define __CONFIG_H
22
23 /* include common defines/options for all imx27lite related boards */
24 #include "imx27lite-common.h"
25 /*
26  * SoC Configuration
27  */
28 #define CONFIG_IMX27LITE
29 #define CONFIG_HOSTNAME         imx27
30 #define CONFIG_BOARDNAME        "LogicPD imx27lite\n"
31
32 /*
33  * Flash & Environment
34  */
35 #define CONFIG_SYS_FLASH_SECT_SZ        0x2000  /* 8KB sect size Intel Flash */
36 #define CONFIG_ENV_OFFSET               (PHYS_FLASH_SIZE - 0x20000)
37 #define PHYS_FLASH_SIZE                 0x200000
38 #define CONFIG_ENV_SECT_SIZE            0x10000         /* Env sector Size */
39
40 /*
41  * SD/MMC
42  */
43 #define CONFIG_MXC_MCI_REGS_BASE        0x10014000
44
45 /*
46  * MTD partitions
47  */
48 #define MTDIDS_DEFAULT          "nor0=physmap-flash.0,nand0=mxc_nand.0"
49 #define MTDPARTS_DEFAULT                        \
50         "mtdparts="                             \
51                 "physmap-flash.0:"              \
52                         "256k(U-Boot),"         \
53                         "1664k(user),"          \
54                         "64k(env1),"            \
55                         "64k(env2);"            \
56                 "mxc_nand.0:"                   \
57                         "128k(IPL-SPL),"        \
58                         "4m(kernel),"           \
59                         "22m(rootfs),"          \
60                         "-(userfs)"
61
62 #endif /* __CONFIG_H */