2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-10-08 04:01:47 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Google, Inc
|
|
|
|
*
|
|
|
|
* Configuration settings for generic Exynos 5 board
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_EXYNOS5_DT_COMMON_H
|
|
|
|
#define __CONFIG_EXYNOS5_DT_COMMON_H
|
|
|
|
|
2014-11-09 10:44:32 +00:00
|
|
|
/* Console configuration */
|
|
|
|
#undef EXYNOS_DEVICE_SETTINGS
|
|
|
|
#define EXYNOS_DEVICE_SETTINGS \
|
|
|
|
"stdin=serial,cros-ec-keyb\0" \
|
2016-02-22 04:09:01 +00:00
|
|
|
"stdout=serial,vidconsole\0" \
|
|
|
|
"stderr=serial,vidconsole\0"
|
2014-11-09 10:44:32 +00:00
|
|
|
|
2015-08-03 14:19:31 +00:00
|
|
|
#define CONFIG_EXYNOS5_DT
|
|
|
|
|
2019-02-27 14:20:34 +00:00
|
|
|
#define CONFIG_SYS_SPI_BASE 0x12D30000
|
2015-08-03 14:19:29 +00:00
|
|
|
#define FLASH_SIZE (4 << 20)
|
|
|
|
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
|
|
|
|
#define CONFIG_SPI_BOOTING
|
|
|
|
|
|
|
|
#define CONFIG_BOARD_COMMON
|
|
|
|
|
|
|
|
/* Display */
|
|
|
|
#ifdef CONFIG_LCD
|
|
|
|
#define CONFIG_EXYNOS_FB
|
|
|
|
#define CONFIG_EXYNOS_DP
|
|
|
|
#define LCD_BPP LCD_COLOR16
|
|
|
|
#endif
|
2014-10-08 04:01:47 +00:00
|
|
|
|
|
|
|
/* Enable keyboard */
|
|
|
|
#define CONFIG_KEYBOARD
|
|
|
|
|
|
|
|
#endif
|