mx6 common: remove dangling comment
[platform/kernel/u-boot.git] / include / configs / mx6_common.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2013, NVIDIA CORPORATION.  All rights reserved.
4  */
5
6 #ifndef __MX6_COMMON_H
7 #define __MX6_COMMON_H
8
9 #if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
10 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
11 #define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK
12 #else
13 #ifndef CONFIG_SYS_L2CACHE_OFF
14 #define CONFIG_SYS_L2_PL310
15 #define CONFIG_SYS_PL310_BASE   L2_PL310_BASE
16 #endif
17
18 #define CONFIG_MP
19 #endif
20 #define CONFIG_BOARD_POSTCLK_INIT
21 #define CONFIG_MXC_GPT_HCLK
22
23 #define CONFIG_SYS_BOOTM_LEN    0x1000000
24
25 #include <linux/sizes.h>
26 #include <asm/arch/imx-regs.h>
27 #include <asm/mach-imx/gpio.h>
28
29 #ifndef CONFIG_MX6
30 #define CONFIG_MX6
31 #endif
32
33 #define CONFIG_SYS_FSL_CLK
34
35 /* ATAGs */
36 #define CONFIG_CMDLINE_TAG
37 #define CONFIG_SETUP_MEMORY_TAGS
38 #define CONFIG_INITRD_TAG
39 #define CONFIG_REVISION_TAG
40
41 /* Boot options */
42 #if defined(CONFIG_MX6SL) || defined(CONFIG_MX6SLL) || \
43         defined(CONFIG_MX6SX) || \
44         defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)
45 #define CONFIG_LOADADDR         0x82000000
46 #else
47 #define CONFIG_LOADADDR         0x12000000
48 #endif
49 #define CONFIG_SYS_LOAD_ADDR    CONFIG_LOADADDR
50
51 /* allow to overwrite serial and ethaddr */
52 #define CONFIG_ENV_OVERWRITE
53
54 /* Miscellaneous configurable options */
55 #define CONFIG_SYS_CBSIZE       512
56 #define CONFIG_SYS_MAXARGS      32
57
58 /* MMC */
59 #define CONFIG_BOUNCE_BUFFER
60 #define CONFIG_FSL_USDHC
61
62 /* Fuses */
63 #define CONFIG_MXC_OCOTP
64
65 /* Secure boot (HAB) support */
66 #ifdef CONFIG_SECURE_BOOT
67 #define CONFIG_CSF_SIZE                 0x2000
68 #ifdef CONFIG_SPL_BUILD
69 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
70 #endif
71 #endif
72
73 #endif