exynos: config: Move common options to the common headers and tidy up
[platform/kernel/u-boot.git] / include / configs / exynos5-dt-common.h
1 /*
2  * Copyright (C) 2014 Google, Inc
3  *
4  * Configuration settings for generic Exynos 5 board
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8
9 #ifndef __CONFIG_EXYNOS5_DT_COMMON_H
10 #define __CONFIG_EXYNOS5_DT_COMMON_H
11
12 /* Console configuration */
13 #undef EXYNOS_DEVICE_SETTINGS
14 #define EXYNOS_DEVICE_SETTINGS \
15                 "stdin=serial,cros-ec-keyb\0" \
16                 "stdout=serial,lcd\0" \
17                 "stderr=serial,lcd\0"
18
19 #define CONFIG_ENV_IS_IN_SPI_FLASH
20 #define CONFIG_ENV_SPI_BASE     0x12D30000
21 #define FLASH_SIZE              (4 << 20)
22 #define CONFIG_ENV_OFFSET       (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
23 #define CONFIG_SPI_BOOTING
24
25 #define CONFIG_BOARD_COMMON
26
27 /* Display */
28 #define CONFIG_LCD
29 #ifdef CONFIG_LCD
30 #define CONFIG_EXYNOS_FB
31 #define CONFIG_EXYNOS_DP
32 #define LCD_BPP                 LCD_COLOR16
33 #endif
34
35 /* Enable keyboard */
36 #define CONFIG_KEYBOARD
37
38 #endif