1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2013 Samsung Electronics
5 * Common configuration settings for the SAMSUNG EXYNOS boards.
8 #ifndef __EXYNOS_COMMON_H
9 #define __EXYNOS_COMMON_H
11 /* High Level Configuration Options */
12 #define CONFIG_SAMSUNG /* in a SAMSUNG core */
13 #define CONFIG_S5P /* S5P Family */
15 #include <asm/arch/cpu.h> /* get chip and board defs */
16 #include <linux/sizes.h>
17 #include <linux/stringify.h>
19 #define CONFIG_SKIP_LOWLEVEL_INIT
21 /* Keep L2 Cache Disabled */
23 /* input clock of PLL: 24MHz input clock */
24 #define CONFIG_SYS_CLK_FREQ 24000000
25 #define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ
27 #define CONFIG_SETUP_MEMORY_TAGS
28 #define CONFIG_CMDLINE_TAG
29 #define CONFIG_INITRD_TAG
31 /* Size of malloc() pool before and after relocation */
32 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
34 /* select serial console configuration */
39 /* Miscellaneous configurable options */
40 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
41 #define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */
43 /* Boot Argument Buffer Size */
44 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
46 #endif /* __CONFIG_H */