Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Google, Inc |
| 4 | * |
| 5 | * Configuration settings for generic Exynos 5 board |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIG_EXYNOS5_DT_COMMON_H |
| 9 | #define __CONFIG_EXYNOS5_DT_COMMON_H |
| 10 | |
Ian Campbell | e6825e0 | 2014-11-09 10:44:32 +0000 | [diff] [blame] | 11 | /* Console configuration */ |
| 12 | #undef EXYNOS_DEVICE_SETTINGS |
| 13 | #define EXYNOS_DEVICE_SETTINGS \ |
| 14 | "stdin=serial,cros-ec-keyb\0" \ |
Simon Glass | bb5930d | 2016-02-21 21:09:01 -0700 | [diff] [blame] | 15 | "stdout=serial,vidconsole\0" \ |
| 16 | "stderr=serial,vidconsole\0" |
Ian Campbell | e6825e0 | 2014-11-09 10:44:32 +0000 | [diff] [blame] | 17 | |
Simon Glass | 54abb00 | 2015-08-03 08:19:31 -0600 | [diff] [blame] | 18 | #define CONFIG_EXYNOS5_DT |
| 19 | |
Patrick Delaunay | ac31d0d | 2019-02-27 15:20:34 +0100 | [diff] [blame] | 20 | #define CONFIG_SYS_SPI_BASE 0x12D30000 |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 21 | #define FLASH_SIZE (4 << 20) |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 22 | #define CONFIG_SPI_BOOTING |
| 23 | |
| 24 | #define CONFIG_BOARD_COMMON |
| 25 | |
| 26 | /* Display */ |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 27 | #ifdef CONFIG_LCD |
| 28 | #define CONFIG_EXYNOS_FB |
| 29 | #define CONFIG_EXYNOS_DP |
| 30 | #define LCD_BPP LCD_COLOR16 |
| 31 | #endif |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 32 | |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 33 | /* Enable keyboard */ |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 34 | #define CONFIG_KEYBOARD |
| 35 | |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 36 | #endif |