]>
Commit | Line | Data |
---|---|---|
8f393776 SW |
1 | /* |
2 | * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify it | |
5 | * under the terms and conditions of the GNU General Public License, | |
6 | * version 2, as published by the Free Software Foundation. | |
7 | * | |
8 | * This program is distributed in the hope it will be useful, but WITHOUT | |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
11 | * more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License | |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
15 | */ | |
16 | ||
17 | #ifndef __MX6_COMMON_H | |
18 | #define __MX6_COMMON_H | |
19 | ||
20 | #define CONFIG_ARM_ERRATA_743622 | |
21 | #define CONFIG_ARM_ERRATA_751472 | |
68659d64 NG |
22 | #define CONFIG_ARM_ERRATA_794072 |
23 | #define CONFIG_ARM_ERRATA_761320 | |
39f0ac93 | 24 | #define CONFIG_BOARD_POSTCLK_INIT |
8f393776 | 25 | |
6d73c234 FE |
26 | #ifndef CONFIG_SYS_L2CACHE_OFF |
27 | #define CONFIG_SYS_L2_PL310 | |
28 | #define CONFIG_SYS_PL310_BASE L2_PL310_BASE | |
29 | #endif | |
30 | ||
a76df709 | 31 | #define CONFIG_MP |
f13ac7b2 | 32 | #define CONFIG_MXC_GPT_HCLK |
a76df709 | 33 | |
056845c2 PR |
34 | #define CONFIG_SYS_NO_FLASH |
35 | ||
36 | #include <linux/sizes.h> | |
37 | #include <asm/arch/imx-regs.h> | |
38 | #include <asm/imx-common/gpio.h> | |
39 | #include <config_cmd_default.h> | |
40 | ||
3b1f6811 PR |
41 | #ifndef CONFIG_MX6 |
42 | #define CONFIG_MX6 | |
43 | #endif | |
44 | ||
45 | #define CONFIG_DISPLAY_BOARDINFO | |
46 | #define CONFIG_DISPLAY_CPUINFO | |
47 | #define CONFIG_SYS_GENERIC_BOARD | |
48 | ||
ea690917 PR |
49 | /* ATAGs */ |
50 | #define CONFIG_CMDLINE_TAG | |
51 | #define CONFIG_SETUP_MEMORY_TAGS | |
52 | #define CONFIG_INITRD_TAG | |
53 | #define CONFIG_REVISION_TAG | |
54 | ||
81830581 PR |
55 | /* Boot options */ |
56 | #define CONFIG_LOADADDR 0x12000000 | |
57 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR | |
58 | #ifndef CONFIG_SYS_TEXT_BASE | |
59 | #define CONFIG_SYS_TEXT_BASE 0x17800000 | |
60 | #endif | |
61 | #ifndef CONFIG_BOOTDELAY | |
62 | #define CONFIG_BOOTDELAY 3 | |
63 | #endif | |
64 | ||
2d8a0747 PR |
65 | /* allow to overwrite serial and ethaddr */ |
66 | #define CONFIG_ENV_OVERWRITE | |
67 | #define CONFIG_CONS_INDEX 1 | |
68 | #define CONFIG_BAUDRATE 115200 | |
69 | ||
a380ce6e PR |
70 | /* Filesystems and image support */ |
71 | #define CONFIG_OF_LIBFDT | |
72 | #define CONFIG_CMD_BOOTZ | |
73 | #define CONFIG_SUPPORT_RAW_INITRD | |
74 | #define CONFIG_CMD_FS_GENERIC | |
75 | #define CONFIG_DOS_PARTITION | |
76 | #define CONFIG_CMD_EXT2 | |
77 | #define CONFIG_CMD_EXT4 | |
78 | #define CONFIG_CMD_EXT4_WRITE | |
79 | #define CONFIG_CMD_FAT | |
80 | ||
2d8a0747 PR |
81 | /* Miscellaneous configurable options */ |
82 | #define CONFIG_SYS_NO_FLASH | |
83 | #undef CONFIG_CMD_IMLS | |
84 | #define CONFIG_SYS_LONGHELP | |
85 | #define CONFIG_SYS_HUSH_PARSER | |
86 | #define CONFIG_CMDLINE_EDITING | |
87 | #define CONFIG_AUTO_COMPLETE | |
88 | #define CONFIG_SYS_CBSIZE 512 | |
89 | #define CONFIG_SYS_MAXARGS 32 | |
90 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE | |
91 | ||
1022b85c PR |
92 | #ifndef CONFIG_SYS_DCACHE_OFF |
93 | #define CONFIG_CMD_CACHE | |
94 | #endif | |
95 | ||
302b2e5b PR |
96 | /* GPIO */ |
97 | #define CONFIG_MXC_GPIO | |
98 | #define CONFIG_CMD_GPIO | |
99 | ||
e51c1e8e PR |
100 | /* MMC */ |
101 | #define CONFIG_MMC | |
102 | #define CONFIG_CMD_MMC | |
103 | #define CONFIG_GENERIC_MMC | |
104 | #define CONFIG_BOUNCE_BUFFER | |
105 | #define CONFIG_FSL_ESDHC | |
106 | #define CONFIG_FSL_USDHC | |
107 | ||
8f393776 | 108 | #endif |