Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Samsung Electronics |
| 4 | * |
| 5 | * Common configuration settings for the SAMSUNG EXYNOS boards. |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 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> |
Simon Glass | fb64e36 | 2020-05-10 11:40:09 -0600 | [diff] [blame] | 17 | #include <linux/stringify.h> |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 18 | |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 19 | /* Keep L2 Cache Disabled */ |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 20 | |
| 21 | /* input clock of PLL: 24MHz input clock */ |
Tom Rini | 8c70baa | 2021-12-14 13:36:40 -0500 | [diff] [blame^] | 22 | #define COUNTER_FREQUENCY 24000000 |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 23 | |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 24 | /* select serial console configuration */ |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 25 | |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 26 | /* PWM */ |
| 27 | #define CONFIG_PWM |
| 28 | |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 29 | /* Miscellaneous configurable options */ |
Ian Campbell | af36fc3 | 2014-11-09 10:44:33 +0000 | [diff] [blame] | 30 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ |
| 31 | #define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */ |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 32 | |
| 33 | /* Boot Argument Buffer Size */ |
| 34 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 35 | |
Simon Glass | 14e27ab | 2014-10-07 22:01:45 -0600 | [diff] [blame] | 36 | #endif /* __CONFIG_H */ |