blob: f3f194ff7a188147a2133d2a613d6920e57c5707 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass5ea01ab2014-10-07 22:01:45 -06002/*
3 * Copyright (C) 2013 Samsung Electronics
4 *
5 * Common configuration settings for the SAMSUNG EXYNOS boards.
Simon Glass5ea01ab2014-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 Glass5ea01ab2014-10-07 22:01:45 -060018#define CONFIG_ARCH_CPU_INIT
Simon Glass5ea01ab2014-10-07 22:01:45 -060019#define CONFIG_SKIP_LOWLEVEL_INIT
Simon Glass5ea01ab2014-10-07 22:01:45 -060020
Simon Glass5ea01ab2014-10-07 22:01:45 -060021/* Keep L2 Cache Disabled */
Simon Glass5ea01ab2014-10-07 22:01:45 -060022
23/* input clock of PLL: 24MHz input clock */
24#define CONFIG_SYS_CLK_FREQ 24000000
Andre Przywarae4916e82017-02-16 01:20:19 +000025#define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ
Simon Glass5ea01ab2014-10-07 22:01:45 -060026
27#define CONFIG_SETUP_MEMORY_TAGS
28#define CONFIG_CMDLINE_TAG
29#define CONFIG_INITRD_TAG
Simon Glass5ea01ab2014-10-07 22:01:45 -060030#define CONFIG_ENV_OVERWRITE
31
Simon Glass2ecd7792014-10-07 22:01:52 -060032/* Size of malloc() pool before and after relocation */
Simon Glass2ecd7792014-10-07 22:01:52 -060033#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
Simon Glass5ea01ab2014-10-07 22:01:45 -060034
35/* select serial console configuration */
Simon Glass5ea01ab2014-10-07 22:01:45 -060036
37/* SD/MMC configuration */
Simon Glass5ea01ab2014-10-07 22:01:45 -060038#define CONFIG_BOUNCE_BUFFER
39
Simon Glass5ea01ab2014-10-07 22:01:45 -060040/* PWM */
41#define CONFIG_PWM
42
Simon Glass5ea01ab2014-10-07 22:01:45 -060043/* Miscellaneous configurable options */
Ian Campbellcf3c03b2014-11-09 10:44:33 +000044#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
45#define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */
Simon Glass5ea01ab2014-10-07 22:01:45 -060046
47/* Boot Argument Buffer Size */
48#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
49
Simon Glass5ea01ab2014-10-07 22:01:45 -060050#endif /* __CONFIG_H */