include/configs: drop COUNTER_FREQUENCY
[platform/kernel/u-boot.git] / include / configs / mx7_common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2015 Freescale Semiconductor, Inc.
4  *
5  * Configuration settings for the Freescale i.MX7.
6  */
7
8 #ifndef __MX7_COMMON_H
9 #define __MX7_COMMON_H
10
11 #include <linux/sizes.h>
12 #include <linux/stringify.h>
13 #include <asm/arch/imx-regs.h>
14 #include <asm/mach-imx/gpio.h>
15
16 /* Timer settings */
17 #define CONFIG_MXC_GPT_HCLK
18 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
19
20 #define CONFIG_SYS_BOOTM_LEN    0x1000000
21
22 /* Enable iomux-lpsr support */
23 #define CONFIG_IOMUX_LPSR
24
25 /* Miscellaneous configurable options */
26 #define CONFIG_SYS_CBSIZE               512
27 #define CONFIG_SYS_MAXARGS              32
28
29 /* UART */
30
31 /* MMC */
32
33 /*
34  * If we have defined the OPTEE ram size and not OPTEE it means that we were
35  * launched by OPTEE, because of that we shall skip all the low level
36  * initialization since it was already done by ATF or OPTEE
37  */
38
39 #endif