2 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
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.
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
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/>.
17 #ifndef __MX6_COMMON_H
18 #define __MX6_COMMON_H
20 #define CONFIG_ARM_ERRATA_743622
21 #define CONFIG_ARM_ERRATA_751472
22 #define CONFIG_ARM_ERRATA_794072
23 #define CONFIG_ARM_ERRATA_761320
24 #define CONFIG_BOARD_POSTCLK_INIT
26 #ifndef CONFIG_SYS_L2CACHE_OFF
27 #define CONFIG_SYS_L2_PL310
28 #define CONFIG_SYS_PL310_BASE L2_PL310_BASE
32 #define CONFIG_MXC_GPT_HCLK
34 #define CONFIG_SYS_NO_FLASH
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>
45 #define CONFIG_DISPLAY_BOARDINFO
46 #define CONFIG_DISPLAY_CPUINFO
47 #define CONFIG_SYS_GENERIC_BOARD
50 #define CONFIG_CMDLINE_TAG
51 #define CONFIG_SETUP_MEMORY_TAGS
52 #define CONFIG_INITRD_TAG
53 #define CONFIG_REVISION_TAG
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
61 #ifndef CONFIG_BOOTDELAY
62 #define CONFIG_BOOTDELAY 3
66 #define CONFIG_MXC_GPIO
67 #define CONFIG_CMD_GPIO