blob: 7cb3a296b572b5d150f30e0370827479ae9f7cfb [file] [log] [blame]
Simon Glassfbff18d2014-10-07 22:01:47 -06001/*
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 Campbell3ecaa402014-11-09 10:44:32 +000012/* Console configuration */
13#undef EXYNOS_DEVICE_SETTINGS
14#define EXYNOS_DEVICE_SETTINGS \
15 "stdin=serial,cros-ec-keyb\0" \
Simon Glassa1015ad2016-02-21 21:09:01 -070016 "stdout=serial,vidconsole\0" \
17 "stderr=serial,vidconsole\0"
Ian Campbell3ecaa402014-11-09 10:44:32 +000018
Simon Glass73f6a532015-08-03 08:19:31 -060019#define CONFIG_EXYNOS5_DT
20
Simon Glass0b18b802015-08-03 08:19:29 -060021#define CONFIG_ENV_IS_IN_SPI_FLASH
22#define CONFIG_ENV_SPI_BASE 0x12D30000
23#define FLASH_SIZE (4 << 20)
24#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
25#define CONFIG_SPI_BOOTING
26
27#define CONFIG_BOARD_COMMON
28
29/* Display */
Simon Glass0b18b802015-08-03 08:19:29 -060030#ifdef CONFIG_LCD
31#define CONFIG_EXYNOS_FB
32#define CONFIG_EXYNOS_DP
33#define LCD_BPP LCD_COLOR16
Simon Glassa1015ad2016-02-21 21:09:01 -070034#define CONFIG_SYS_WHITE_ON_BLACK
Simon Glass0b18b802015-08-03 08:19:29 -060035#endif
Simon Glassfbff18d2014-10-07 22:01:47 -060036
Simon Glassfbff18d2014-10-07 22:01:47 -060037/* Enable keyboard */
Simon Glassfbff18d2014-10-07 22:01:47 -060038#define CONFIG_KEYBOARD
39
Simon Glassfbff18d2014-10-07 22:01:47 -060040#endif