2013-02-26 12:28:29 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MX6_COMMON_H
|
|
|
|
#define __MX6_COMMON_H
|
|
|
|
|
|
|
|
#define CONFIG_ARM_ERRATA_743622
|
|
|
|
#define CONFIG_ARM_ERRATA_751472
|
2014-04-02 13:55:03 +00:00
|
|
|
#define CONFIG_ARM_ERRATA_794072
|
|
|
|
#define CONFIG_ARM_ERRATA_761320
|
2013-12-26 16:51:34 +00:00
|
|
|
#define CONFIG_BOARD_POSTCLK_INIT
|
2013-02-26 12:28:29 +00:00
|
|
|
|
2014-01-29 19:39:49 +00:00
|
|
|
#ifndef CONFIG_SYS_L2CACHE_OFF
|
|
|
|
#define CONFIG_SYS_L2_PL310
|
|
|
|
#define CONFIG_SYS_PL310_BASE L2_PL310_BASE
|
|
|
|
#endif
|
|
|
|
|
2014-07-26 18:35:43 +00:00
|
|
|
#define CONFIG_MP
|
2014-10-30 10:20:59 +00:00
|
|
|
#define CONFIG_MXC_GPT_HCLK
|
2014-07-26 18:35:43 +00:00
|
|
|
|
2015-05-22 16:30:45 +00:00
|
|
|
#define CONFIG_SYS_NO_FLASH
|
|
|
|
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
#include <asm/arch/imx-regs.h>
|
|
|
|
#include <asm/imx-common/gpio.h>
|
|
|
|
#include <config_cmd_default.h>
|
|
|
|
|
2015-05-22 16:30:46 +00:00
|
|
|
#ifndef CONFIG_MX6
|
|
|
|
#define CONFIG_MX6
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CONFIG_DISPLAY_BOARDINFO
|
|
|
|
#define CONFIG_DISPLAY_CPUINFO
|
|
|
|
#define CONFIG_SYS_GENERIC_BOARD
|
|
|
|
|
2015-05-22 16:30:47 +00:00
|
|
|
/* ATAGs */
|
|
|
|
#define CONFIG_CMDLINE_TAG
|
|
|
|
#define CONFIG_SETUP_MEMORY_TAGS
|
|
|
|
#define CONFIG_INITRD_TAG
|
|
|
|
#define CONFIG_REVISION_TAG
|
|
|
|
|
2015-05-22 16:30:49 +00:00
|
|
|
/* Boot options */
|
|
|
|
#define CONFIG_LOADADDR 0x12000000
|
|
|
|
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
|
|
|
|
#ifndef CONFIG_SYS_TEXT_BASE
|
|
|
|
#define CONFIG_SYS_TEXT_BASE 0x17800000
|
|
|
|
#endif
|
|
|
|
#ifndef CONFIG_BOOTDELAY
|
|
|
|
#define CONFIG_BOOTDELAY 3
|
|
|
|
#endif
|
|
|
|
|
2015-05-22 16:30:48 +00:00
|
|
|
/* GPIO */
|
|
|
|
#define CONFIG_MXC_GPIO
|
|
|
|
#define CONFIG_CMD_GPIO
|
|
|
|
|
2013-02-26 12:28:29 +00:00
|
|
|
#endif
|