Commit | Line | Data |
---|---|---|
10bc241d IY |
1 | /* |
2 | * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com> | |
3 | * | |
1a459660 | 4 | * SPDX-License-Identifier: GPL-2.0+ |
10bc241d IY |
5 | */ |
6 | ||
7 | #ifndef __CONFIG_H | |
8 | #define __CONFIG_H | |
9 | ||
bbe31092 HS |
10 | /* include common defines/options for all imx27lite related boards */ |
11 | #include "imx27lite-common.h" | |
10bc241d IY |
12 | /* |
13 | * SoC Configuration | |
14 | */ | |
10bc241d | 15 | #define CONFIG_IMX27LITE |
bbe31092 HS |
16 | #define CONFIG_HOSTNAME imx27 |
17 | #define CONFIG_BOARDNAME "LogicPD imx27lite\n" | |
10bc241d IY |
18 | |
19 | /* | |
20 | * Flash & Environment | |
21 | */ | |
10bc241d | 22 | #define CONFIG_SYS_FLASH_SECT_SZ 0x2000 /* 8KB sect size Intel Flash */ |
10bc241d | 23 | #define CONFIG_ENV_OFFSET (PHYS_FLASH_SIZE - 0x20000) |
10bc241d | 24 | #define PHYS_FLASH_SIZE 0x200000 |
10bc241d | 25 | #define CONFIG_ENV_SECT_SIZE 0x10000 /* Env sector Size */ |
10bc241d IY |
26 | |
27 | /* | |
28 | * SD/MMC | |
29 | */ | |
10bc241d | 30 | #define CONFIG_MXC_MCI_REGS_BASE 0x10014000 |
10bc241d IY |
31 | |
32 | /* | |
33 | * MTD partitions | |
34 | */ | |
10bc241d IY |
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 | ||
10bc241d | 49 | #endif /* __CONFIG_H */ |