mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 07:43:22 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Many options are duplicated on the exynos5 boards. Move these to the common files. Also some options are not used so can be removed. Tidy this up to make the files easier to maintain. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
39 lines
805 B
C
39 lines
805 B
C
/*
|
|
* Copyright (C) 2014 Google, Inc
|
|
*
|
|
* Configuration settings for generic Exynos 5 board
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __CONFIG_EXYNOS5_DT_COMMON_H
|
|
#define __CONFIG_EXYNOS5_DT_COMMON_H
|
|
|
|
/* Console configuration */
|
|
#undef EXYNOS_DEVICE_SETTINGS
|
|
#define EXYNOS_DEVICE_SETTINGS \
|
|
"stdin=serial,cros-ec-keyb\0" \
|
|
"stdout=serial,lcd\0" \
|
|
"stderr=serial,lcd\0"
|
|
|
|
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
|
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
|
#define FLASH_SIZE (4 << 20)
|
|
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
|
|
#define CONFIG_SPI_BOOTING
|
|
|
|
#define CONFIG_BOARD_COMMON
|
|
|
|
/* Display */
|
|
#define CONFIG_LCD
|
|
#ifdef CONFIG_LCD
|
|
#define CONFIG_EXYNOS_FB
|
|
#define CONFIG_EXYNOS_DP
|
|
#define LCD_BPP LCD_COLOR16
|
|
#endif
|
|
|
|
/* Enable keyboard */
|
|
#define CONFIG_KEYBOARD
|
|
|
|
#endif
|