1*5ea01ab1SSimon Glass /* 2*5ea01ab1SSimon Glass * Copyright (C) 2013 Samsung Electronics 3*5ea01ab1SSimon Glass * 4*5ea01ab1SSimon Glass * Common configuration settings for the SAMSUNG EXYNOS boards. 5*5ea01ab1SSimon Glass * 6*5ea01ab1SSimon Glass * SPDX-License-Identifier: GPL-2.0+ 7*5ea01ab1SSimon Glass */ 8*5ea01ab1SSimon Glass 9*5ea01ab1SSimon Glass #ifndef __EXYNOS_COMMON_H 10*5ea01ab1SSimon Glass #define __EXYNOS_COMMON_H 11*5ea01ab1SSimon Glass 12*5ea01ab1SSimon Glass /* High Level Configuration Options */ 13*5ea01ab1SSimon Glass #define CONFIG_SAMSUNG /* in a SAMSUNG core */ 14*5ea01ab1SSimon Glass #define CONFIG_S5P /* S5P Family */ 15*5ea01ab1SSimon Glass 16*5ea01ab1SSimon Glass #include <asm/arch/cpu.h> /* get chip and board defs */ 17*5ea01ab1SSimon Glass #include <linux/sizes.h> 18*5ea01ab1SSimon Glass 19*5ea01ab1SSimon Glass #define CONFIG_SYS_GENERIC_BOARD 20*5ea01ab1SSimon Glass #define CONFIG_ARCH_CPU_INIT 21*5ea01ab1SSimon Glass #define CONFIG_DISPLAY_CPUINFO 22*5ea01ab1SSimon Glass #define CONFIG_DISPLAY_BOARDINFO 23*5ea01ab1SSimon Glass #define CONFIG_BOARD_COMMON 24*5ea01ab1SSimon Glass #define CONFIG_SKIP_LOWLEVEL_INIT 25*5ea01ab1SSimon Glass #define CONFIG_BOARD_EARLY_INIT_F 26*5ea01ab1SSimon Glass 27*5ea01ab1SSimon Glass /* Enable fdt support */ 28*5ea01ab1SSimon Glass #define CONFIG_OF_LIBFDT 29*5ea01ab1SSimon Glass 30*5ea01ab1SSimon Glass /* Keep L2 Cache Disabled */ 31*5ea01ab1SSimon Glass #define CONFIG_CMD_CACHE 32*5ea01ab1SSimon Glass 33*5ea01ab1SSimon Glass /* input clock of PLL: 24MHz input clock */ 34*5ea01ab1SSimon Glass #define CONFIG_SYS_CLK_FREQ 24000000 35*5ea01ab1SSimon Glass 36*5ea01ab1SSimon Glass #define CONFIG_SETUP_MEMORY_TAGS 37*5ea01ab1SSimon Glass #define CONFIG_CMDLINE_TAG 38*5ea01ab1SSimon Glass #define CONFIG_INITRD_TAG 39*5ea01ab1SSimon Glass #define CONFIG_CMDLINE_EDITING 40*5ea01ab1SSimon Glass #define CONFIG_ENV_OVERWRITE 41*5ea01ab1SSimon Glass 42*5ea01ab1SSimon Glass /* Size of malloc() pool */ 43*5ea01ab1SSimon Glass #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 * SZ_1M)) 44*5ea01ab1SSimon Glass 45*5ea01ab1SSimon Glass /* select serial console configuration */ 46*5ea01ab1SSimon Glass #define CONFIG_BAUDRATE 115200 47*5ea01ab1SSimon Glass 48*5ea01ab1SSimon Glass /* SD/MMC configuration */ 49*5ea01ab1SSimon Glass #define CONFIG_GENERIC_MMC 50*5ea01ab1SSimon Glass #define CONFIG_MMC 51*5ea01ab1SSimon Glass #define CONFIG_S5P_SDHCI 52*5ea01ab1SSimon Glass #define CONFIG_SDHCI 53*5ea01ab1SSimon Glass #define CONFIG_DWMMC 54*5ea01ab1SSimon Glass #define CONFIG_EXYNOS_DWMMC 55*5ea01ab1SSimon Glass #define CONFIG_BOUNCE_BUFFER 56*5ea01ab1SSimon Glass 57*5ea01ab1SSimon Glass #define CONFIG_BOOTDELAY 3 58*5ea01ab1SSimon Glass #define CONFIG_ZERO_BOOTDELAY_CHECK 59*5ea01ab1SSimon Glass 60*5ea01ab1SSimon Glass /* PWM */ 61*5ea01ab1SSimon Glass #define CONFIG_PWM 62*5ea01ab1SSimon Glass 63*5ea01ab1SSimon Glass /* Command definition*/ 64*5ea01ab1SSimon Glass #include <config_cmd_default.h> 65*5ea01ab1SSimon Glass 66*5ea01ab1SSimon Glass #define CONFIG_CMD_MMC 67*5ea01ab1SSimon Glass #define CONFIG_CMD_EXT4 68*5ea01ab1SSimon Glass #define CONFIG_CMD_EXT4_WRITE 69*5ea01ab1SSimon Glass #define CONFIG_CMD_FAT 70*5ea01ab1SSimon Glass #define CONFIG_FAT_WRITE 71*5ea01ab1SSimon Glass 72*5ea01ab1SSimon Glass #define CONFIG_DOS_PARTITION 73*5ea01ab1SSimon Glass #define CONFIG_EFI_PARTITION 74*5ea01ab1SSimon Glass #define CONFIG_CMD_PART 75*5ea01ab1SSimon Glass #define CONFIG_PARTITION_UUIDS 76*5ea01ab1SSimon Glass 77*5ea01ab1SSimon Glass /* Miscellaneous configurable options */ 78*5ea01ab1SSimon Glass #define CONFIG_SYS_LONGHELP /* undef to save memory */ 79*5ea01ab1SSimon Glass #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ 80*5ea01ab1SSimon Glass #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ 81*5ea01ab1SSimon Glass #define CONFIG_SYS_PBSIZE 384 /* Print Buffer Size */ 82*5ea01ab1SSimon Glass #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ 83*5ea01ab1SSimon Glass 84*5ea01ab1SSimon Glass /* Boot Argument Buffer Size */ 85*5ea01ab1SSimon Glass #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 86*5ea01ab1SSimon Glass 87*5ea01ab1SSimon Glass /* FLASH and environment organization */ 88*5ea01ab1SSimon Glass #define CONFIG_SYS_NO_FLASH 89*5ea01ab1SSimon Glass #undef CONFIG_CMD_IMLS 90*5ea01ab1SSimon Glass 91*5ea01ab1SSimon Glass #endif /* __CONFIG_H */ 92