Merge branch '2019-05-24-master-imports'
[platform/kernel/u-boot.git] / include / configs / exynos5-dt-common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2014 Google, Inc
4  *
5  * Configuration settings for generic Exynos 5 board
6  */
7
8 #ifndef __CONFIG_EXYNOS5_DT_COMMON_H
9 #define __CONFIG_EXYNOS5_DT_COMMON_H
10
11 /* Console configuration */
12 #undef EXYNOS_DEVICE_SETTINGS
13 #define EXYNOS_DEVICE_SETTINGS \
14                 "stdin=serial,cros-ec-keyb\0" \
15                 "stdout=serial,vidconsole\0" \
16                 "stderr=serial,vidconsole\0"
17
18 #define CONFIG_EXYNOS5_DT
19
20 #define CONFIG_SYS_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 #ifdef CONFIG_LCD
29 #define CONFIG_EXYNOS_FB
30 #define CONFIG_EXYNOS_DP
31 #define LCD_BPP                 LCD_COLOR16
32 #endif
33
34 /* Enable keyboard */
35 #define CONFIG_KEYBOARD
36
37 #endif