Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 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 | |
Ian Campbell | e6825e0 | 2014-11-09 10:44:32 +0000 | [diff] [blame] | 12 | /* Console configuration */ |
| 13 | #undef EXYNOS_DEVICE_SETTINGS |
| 14 | #define EXYNOS_DEVICE_SETTINGS \ |
| 15 | "stdin=serial,cros-ec-keyb\0" \ |
Simon Glass | bb5930d | 2016-02-21 21:09:01 -0700 | [diff] [blame] | 16 | "stdout=serial,vidconsole\0" \ |
| 17 | "stderr=serial,vidconsole\0" |
Ian Campbell | e6825e0 | 2014-11-09 10:44:32 +0000 | [diff] [blame] | 18 | |
Simon Glass | 54abb00 | 2015-08-03 08:19:31 -0600 | [diff] [blame] | 19 | #define CONFIG_EXYNOS5_DT |
| 20 | |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 21 | #define CONFIG_ENV_SPI_BASE 0x12D30000 |
| 22 | #define FLASH_SIZE (4 << 20) |
| 23 | #define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE) |
| 24 | #define CONFIG_SPI_BOOTING |
| 25 | |
| 26 | #define CONFIG_BOARD_COMMON |
| 27 | |
| 28 | /* Display */ |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 29 | #ifdef CONFIG_LCD |
| 30 | #define CONFIG_EXYNOS_FB |
| 31 | #define CONFIG_EXYNOS_DP |
| 32 | #define LCD_BPP LCD_COLOR16 |
| 33 | #endif |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 34 | |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 35 | /* Enable keyboard */ |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 36 | #define CONFIG_KEYBOARD |
| 37 | |
Simon Glass | 7d15953 | 2014-10-07 22:01:47 -0600 | [diff] [blame] | 38 | #endif |