15ea01ab1SSimon Glass /* 25ea01ab1SSimon Glass * Copyright (C) 2013 Samsung Electronics 35ea01ab1SSimon Glass * 45ea01ab1SSimon Glass * Common configuration settings for the SAMSUNG EXYNOS boards. 55ea01ab1SSimon Glass * 65ea01ab1SSimon Glass * SPDX-License-Identifier: GPL-2.0+ 75ea01ab1SSimon Glass */ 85ea01ab1SSimon Glass 95ea01ab1SSimon Glass #ifndef __EXYNOS_COMMON_H 105ea01ab1SSimon Glass #define __EXYNOS_COMMON_H 115ea01ab1SSimon Glass 125ea01ab1SSimon Glass /* High Level Configuration Options */ 135ea01ab1SSimon Glass #define CONFIG_SAMSUNG /* in a SAMSUNG core */ 145ea01ab1SSimon Glass #define CONFIG_S5P /* S5P Family */ 155ea01ab1SSimon Glass 165ea01ab1SSimon Glass #include <asm/arch/cpu.h> /* get chip and board defs */ 175ea01ab1SSimon Glass #include <linux/sizes.h> 185ea01ab1SSimon Glass 195ea01ab1SSimon Glass #define CONFIG_ARCH_CPU_INIT 205ea01ab1SSimon Glass #define CONFIG_SKIP_LOWLEVEL_INIT 215ea01ab1SSimon Glass 225ea01ab1SSimon Glass /* Keep L2 Cache Disabled */ 235ea01ab1SSimon Glass 245ea01ab1SSimon Glass /* input clock of PLL: 24MHz input clock */ 255ea01ab1SSimon Glass #define CONFIG_SYS_CLK_FREQ 24000000 26*e4916e85SAndre Przywara #define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ 275ea01ab1SSimon Glass 285ea01ab1SSimon Glass #define CONFIG_SETUP_MEMORY_TAGS 295ea01ab1SSimon Glass #define CONFIG_CMDLINE_TAG 305ea01ab1SSimon Glass #define CONFIG_INITRD_TAG 315ea01ab1SSimon Glass #define CONFIG_ENV_OVERWRITE 325ea01ab1SSimon Glass 332ecd7797SSimon Glass /* Size of malloc() pool before and after relocation */ 342ecd7797SSimon Glass #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20)) 355ea01ab1SSimon Glass 365ea01ab1SSimon Glass /* select serial console configuration */ 375ea01ab1SSimon Glass 385ea01ab1SSimon Glass /* SD/MMC configuration */ 395ea01ab1SSimon Glass #define CONFIG_BOUNCE_BUFFER 405ea01ab1SSimon Glass 415ea01ab1SSimon Glass /* PWM */ 425ea01ab1SSimon Glass #define CONFIG_PWM 435ea01ab1SSimon Glass 445ea01ab1SSimon Glass /* Miscellaneous configurable options */ 45cf3c03b1SIan Campbell #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ 46cf3c03b1SIan Campbell #define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */ 475ea01ab1SSimon Glass 485ea01ab1SSimon Glass /* Boot Argument Buffer Size */ 495ea01ab1SSimon Glass #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 505ea01ab1SSimon Glass 51adc7d206SIan Campbell #include <config_distro_defaults.h> 52adc7d206SIan Campbell 535ea01ab1SSimon Glass #endif /* __CONFIG_H */ 54