]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
5ea01ab1 SG |
2 | /* |
3 | * Copyright (C) 2013 Samsung Electronics | |
4 | * | |
5 | * Common configuration settings for the SAMSUNG EXYNOS boards. | |
5ea01ab1 SG |
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 | ||
5ea01ab1 | 18 | #define CONFIG_ARCH_CPU_INIT |
5ea01ab1 | 19 | #define CONFIG_SKIP_LOWLEVEL_INIT |
5ea01ab1 | 20 | |
5ea01ab1 | 21 | /* Keep L2 Cache Disabled */ |
5ea01ab1 SG |
22 | |
23 | /* input clock of PLL: 24MHz input clock */ | |
24 | #define CONFIG_SYS_CLK_FREQ 24000000 | |
e4916e85 | 25 | #define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ |
5ea01ab1 SG |
26 | |
27 | #define CONFIG_SETUP_MEMORY_TAGS | |
28 | #define CONFIG_CMDLINE_TAG | |
29 | #define CONFIG_INITRD_TAG | |
5ea01ab1 SG |
30 | #define CONFIG_ENV_OVERWRITE |
31 | ||
2ecd7797 | 32 | /* Size of malloc() pool before and after relocation */ |
2ecd7797 | 33 | #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20)) |
5ea01ab1 SG |
34 | |
35 | /* select serial console configuration */ | |
5ea01ab1 | 36 | |
5ea01ab1 SG |
37 | /* PWM */ |
38 | #define CONFIG_PWM | |
39 | ||
5ea01ab1 | 40 | /* Miscellaneous configurable options */ |
cf3c03b1 IC |
41 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ |
42 | #define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */ | |
5ea01ab1 SG |
43 | |
44 | /* Boot Argument Buffer Size */ | |
45 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE | |
46 | ||
5ea01ab1 | 47 | #endif /* __CONFIG_H */ |