9c778da7e0885f7d3ee56a22097dd6b428f4fcfb
[platform/kernel/u-boot.git] / include / configs / exynos-common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2013 Samsung Electronics
4  *
5  * Common configuration settings for the SAMSUNG EXYNOS boards.
6  */
7
8 #ifndef __EXYNOS_COMMON_H
9 #define __EXYNOS_COMMON_H
10
11 /* High Level Configuration Options */
12 #define CONFIG_SAMSUNG                  /* in a SAMSUNG core */
13 #define CONFIG_S5P                      /* S5P Family */
14
15 #include <asm/arch/cpu.h>               /* get chip and board defs */
16 #include <linux/sizes.h>
17 #include <linux/stringify.h>
18
19 /* Keep L2 Cache Disabled */
20
21 /* input clock of PLL: 24MHz input clock */
22 #define CONFIG_SYS_CLK_FREQ             24000000
23 #define COUNTER_FREQUENCY               CONFIG_SYS_CLK_FREQ
24
25 #define CONFIG_SETUP_MEMORY_TAGS
26 #define CONFIG_CMDLINE_TAG
27 #define CONFIG_INITRD_TAG
28
29 /* select serial console configuration */
30
31 /* PWM */
32 #define CONFIG_PWM
33
34 /* Miscellaneous configurable options */
35 #define CONFIG_SYS_CBSIZE               1024    /* Console I/O Buffer Size */
36 #define CONFIG_SYS_PBSIZE               1024    /* Print Buffer Size */
37
38 /* Boot Argument Buffer Size */
39 #define CONFIG_SYS_BARGSIZE             CONFIG_SYS_CBSIZE
40
41 #endif  /* __CONFIG_H */