blob: 5ae2b427cad285a7b1dbfa802ecb48494e8d45e4 [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>
17
Simon Glass14e27ab2014-10-07 22:01:45 -060018#define CONFIG_SKIP_LOWLEVEL_INIT
Simon Glass14e27ab2014-10-07 22:01:45 -060019
Simon Glass14e27ab2014-10-07 22:01:45 -060020/* Keep L2 Cache Disabled */
Simon Glass14e27ab2014-10-07 22:01:45 -060021
22/* input clock of PLL: 24MHz input clock */
23#define CONFIG_SYS_CLK_FREQ 24000000
Andre Przywara70c78932017-02-16 01:20:19 +000024#define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ
Simon Glass14e27ab2014-10-07 22:01:45 -060025
26#define CONFIG_SETUP_MEMORY_TAGS
27#define CONFIG_CMDLINE_TAG
28#define CONFIG_INITRD_TAG
Simon Glass14e27ab2014-10-07 22:01:45 -060029#define CONFIG_ENV_OVERWRITE
30
Simon Glass86f0bce2014-10-07 22:01:52 -060031/* Size of malloc() pool before and after relocation */
Simon Glass86f0bce2014-10-07 22:01:52 -060032#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
Simon Glass14e27ab2014-10-07 22:01:45 -060033
34/* select serial console configuration */
Simon Glass14e27ab2014-10-07 22:01:45 -060035
Simon Glass14e27ab2014-10-07 22:01:45 -060036/* PWM */
37#define CONFIG_PWM
38
Simon Glass14e27ab2014-10-07 22:01:45 -060039/* Miscellaneous configurable options */
Ian Campbellaf36fc32014-11-09 10:44:33 +000040#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
41#define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */
Simon Glass14e27ab2014-10-07 22:01:45 -060042
43/* Boot Argument Buffer Size */
44#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
45
Simon Glass14e27ab2014-10-07 22:01:45 -060046#endif /* __CONFIG_H */