Merge tag 'dm-pull-18mar22' of https://source.denx.de/u-boot/custodians/u-boot-dm...
[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 #define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK
20
21 #define CONFIG_SYS_BOOTM_LEN    0x1000000
22
23 /* Enable iomux-lpsr support */
24 #define CONFIG_IOMUX_LPSR
25
26 /* Miscellaneous configurable options */
27 #define CONFIG_SYS_CBSIZE               512
28 #define CONFIG_SYS_MAXARGS              32
29
30 /* UART */
31
32 /* MMC */
33
34 /*
35  * If we have defined the OPTEE ram size and not OPTEE it means that we were
36  * launched by OPTEE, because of that we shall skip all the low level
37  * initialization since it was already done by ATF or OPTEE
38  */
39
40 #endif