blob: eb2606905f8a8be9e6f0c51bf4ab52dcda7c73e7 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass14e27ab2014-10-07 22:01:45 -06002/*
3 * Copyright (C) 2013 Samsung Electronics
4 *
5 * Common configuration settings for the SAMSUNG EXYNOS boards.
Simon Glass14e27ab2014-10-07 22:01:45 -06006 */
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 Glassfb64e362020-05-10 11:40:09 -060017#include <linux/stringify.h>
Simon Glass14e27ab2014-10-07 22:01:45 -060018
Simon Glass14e27ab2014-10-07 22:01:45 -060019/* Keep L2 Cache Disabled */
Simon Glass14e27ab2014-10-07 22:01:45 -060020
21/* input clock of PLL: 24MHz input clock */
Tom Rini8c70baa2021-12-14 13:36:40 -050022#define COUNTER_FREQUENCY 24000000
Simon Glass14e27ab2014-10-07 22:01:45 -060023
Simon Glass14e27ab2014-10-07 22:01:45 -060024/* select serial console configuration */
Simon Glass14e27ab2014-10-07 22:01:45 -060025
Simon Glass14e27ab2014-10-07 22:01:45 -060026/* PWM */
27#define CONFIG_PWM
28
Simon Glass14e27ab2014-10-07 22:01:45 -060029/* Miscellaneous configurable options */
Ian Campbellaf36fc32014-11-09 10:44:33 +000030#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
31#define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */
Simon Glass14e27ab2014-10-07 22:01:45 -060032
33/* Boot Argument Buffer Size */
34#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
35
Simon Glass14e27ab2014-10-07 22:01:45 -060036#endif /* __CONFIG_H */