blob: a87182ae8481a0ffd6ed78591c93d2a4d5d53249 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass7d159532014-10-07 22:01:47 -06002/*
3 * Copyright (C) 2014 Google, Inc
4 *
5 * Configuration settings for generic Exynos 5 board
Simon Glass7d159532014-10-07 22:01:47 -06006 */
7
8#ifndef __CONFIG_EXYNOS5_DT_COMMON_H
9#define __CONFIG_EXYNOS5_DT_COMMON_H
10
Ian Campbelle6825e02014-11-09 10:44:32 +000011/* Console configuration */
12#undef EXYNOS_DEVICE_SETTINGS
13#define EXYNOS_DEVICE_SETTINGS \
14 "stdin=serial,cros-ec-keyb\0" \
Simon Glassbb5930d2016-02-21 21:09:01 -070015 "stdout=serial,vidconsole\0" \
16 "stderr=serial,vidconsole\0"
Ian Campbelle6825e02014-11-09 10:44:32 +000017
Simon Glass54abb002015-08-03 08:19:31 -060018#define CONFIG_EXYNOS5_DT
19
Patrick Delaunayac31d0d2019-02-27 15:20:34 +010020#define CONFIG_SYS_SPI_BASE 0x12D30000
Simon Glassbf637ea2015-08-03 08:19:29 -060021#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 */
Simon Glassbf637ea2015-08-03 08:19:29 -060028#ifdef CONFIG_LCD
29#define CONFIG_EXYNOS_FB
30#define CONFIG_EXYNOS_DP
31#define LCD_BPP LCD_COLOR16
32#endif
Simon Glass7d159532014-10-07 22:01:47 -060033
Simon Glass7d159532014-10-07 22:01:47 -060034/* Enable keyboard */
Simon Glass7d159532014-10-07 22:01:47 -060035#define CONFIG_KEYBOARD
36
Simon Glass7d159532014-10-07 22:01:47 -060037#endif