blob: ae25640255ffbcfc90b5526471ede2e71af0a4f9 [file] [log] [blame]
Stephen Warren8f393772013-02-26 12:28:29 +00001/*
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
Stephen Warren8f393772013-02-26 12:28:29 +000020#define CONFIG_ARM_ERRATA_743622
21#define CONFIG_ARM_ERRATA_751472
Nitin Garg68659d62014-04-02 08:55:03 -050022#define CONFIG_ARM_ERRATA_794072
23#define CONFIG_ARM_ERRATA_761320
Fabio Estevam39f0ac92013-12-26 14:51:34 -020024#define CONFIG_BOARD_POSTCLK_INIT
Stephen Warren8f393772013-02-26 12:28:29 +000025
Fabio Estevam6d73c232014-01-29 17:39:49 -020026#ifndef CONFIG_SYS_L2CACHE_OFF
27#define CONFIG_SYS_L2_PL310
28#define CONFIG_SYS_PL310_BASE L2_PL310_BASE
29#endif
30
Gabriel Huaua76df702014-07-26 11:35:43 -070031#define CONFIG_MP
Ye.Lif13ac7b2014-10-30 18:20:59 +080032#define CONFIG_MXC_GPT_HCLK
Gabriel Huaua76df702014-07-26 11:35:43 -070033
Peter Robinson056845c2015-05-22 17:30:45 +010034#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
Peter Robinson3b1f6812015-05-22 17:30:46 +010041#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
Peter Robinsonea690912015-05-22 17:30:47 +010049/* ATAGs */
50#define CONFIG_CMDLINE_TAG
51#define CONFIG_SETUP_MEMORY_TAGS
52#define CONFIG_INITRD_TAG
53#define CONFIG_REVISION_TAG
54
Peter Robinson302b2e52015-05-22 17:30:48 +010055/* GPIO */
56#define CONFIG_MXC_GPIO
57#define CONFIG_CMD_GPIO
58
Stephen Warren8f393772013-02-26 12:28:29 +000059#endif