2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2013-02-26 12:28:29 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MX6_COMMON_H
|
|
|
|
#define __MX6_COMMON_H
|
|
|
|
|
2020-05-10 17:40:09 +00:00
|
|
|
#include <linux/stringify.h>
|
|
|
|
|
2018-01-05 14:08:19 +00:00
|
|
|
#if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
|
|
|
|
#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
|
|
|
|
#else
|
2014-01-29 19:39:49 +00:00
|
|
|
#ifndef CONFIG_SYS_L2CACHE_OFF
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_PL310_BASE L2_PL310_BASE
|
2014-01-29 19:39:49 +00:00
|
|
|
#endif
|
|
|
|
|
2015-07-20 11:28:26 +00:00
|
|
|
#endif
|
2014-07-26 18:35:43 +00:00
|
|
|
|
2015-05-22 16:30:45 +00:00
|
|
|
#include <linux/sizes.h>
|
|
|
|
#include <asm/arch/imx-regs.h>
|
2017-06-29 08:16:06 +00:00
|
|
|
#include <asm/mach-imx/gpio.h>
|
2015-05-22 16:30:45 +00:00
|
|
|
|
2015-05-22 16:30:50 +00:00
|
|
|
/* Miscellaneous configurable options */
|
|
|
|
|
2015-05-22 16:30:52 +00:00
|
|
|
/* MMC */
|
|
|
|
|
2013-02-26 12:28:29 +00:00
|
|
|
#endif
|