Commit 79043d84da076e4eb47e04495c55216897c9a161
Committed by
Minkyu Kang
1 parent
e6b723fc70
Exists in
v2017.01-smarct4x
and in
37 other branches
Config: Exynos5800: Enable build for Peach-Pi
This adds following things : - New config and defconfig for Peach-Pi board. - Alterations in Kconfig and MAINTAINERS. - Addition of CONFIG_EXYNOS5800. - ADdition of exynos5800-peach-pi in dts list. Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Showing 7 changed files with 81 additions and 4 deletions Side-by-side Diff
arch/arm/cpu/armv7/exynos/Kconfig
... | ... | @@ -44,8 +44,13 @@ |
44 | 44 | select SUPPORT_SPL |
45 | 45 | select OF_CONTROL if !SPL_BUILD |
46 | 46 | |
47 | -config TARGET_PEACH_PIT | |
47 | +config TARGET_PEACH_PI | |
48 | 48 | bool "Peach Pi board" |
49 | + select SUPPORT_SPL | |
50 | + select OF_CONTROL if !SPL_BUILD | |
51 | + | |
52 | +config TARGET_PEACH_PIT | |
53 | + bool "Peach Pit board" | |
49 | 54 | select SUPPORT_SPL |
50 | 55 | select OF_CONTROL if !SPL_BUILD |
51 | 56 |
board/samsung/smdk5420/Kconfig
board/samsung/smdk5420/MAINTAINERS
configs/peach-pi_defconfig
include/configs/exynos5420-common.h
... | ... | @@ -10,6 +10,8 @@ |
10 | 10 | #define __CONFIG_EXYNOS5420_H |
11 | 11 | |
12 | 12 | #define CONFIG_EXYNOS5420 |
13 | +/* A variant of Exynos5420 (Exynos5 Family) */ | |
14 | +#define CONFIG_EXYNOS5800 | |
13 | 15 | |
14 | 16 | #define CONFIG_ENV_IS_IN_SPI_FLASH |
15 | 17 | #define CONFIG_SPI_FLASH |
... | ... | @@ -38,7 +40,8 @@ |
38 | 40 | |
39 | 41 | #define CONFIG_SPL_MAX_FOOTPRINT (30 * 1024) |
40 | 42 | |
41 | -#define CONFIG_DEVICE_TREE_LIST "exynos5420-peach-pit exynos5420-smdk5420" | |
43 | +#define CONFIG_DEVICE_TREE_LIST "exynos5800-peach-pi" \ | |
44 | + "exynos5420-peach-pit exynos5420-smdk5420" | |
42 | 45 | |
43 | 46 | #define CONFIG_MAX_I2C_NUM 11 |
44 | 47 |
include/configs/peach-pi.h
1 | +/* | |
2 | + * Copyright (C) 2014 Samsung Electronics | |
3 | + * | |
4 | + * Configuration settings for the SAMSUNG/GOOGLE PEACH-PI board. | |
5 | + * | |
6 | + * SPDX-License-Identifier: GPL-2.0+ | |
7 | + */ | |
8 | + | |
9 | +#ifndef __CONFIG_PEACH_PI_H | |
10 | +#define __CONFIG_PEACH_PI_H | |
11 | + | |
12 | +#define CONFIG_ENV_IS_IN_SPI_FLASH | |
13 | +#define CONFIG_SPI_FLASH | |
14 | +#define CONFIG_ENV_SPI_BASE 0x12D30000 | |
15 | +#define FLASH_SIZE (0x4 << 20) | |
16 | +#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE) | |
17 | + | |
18 | +#include <configs/exynos5420-common.h> | |
19 | +#include <configs/exynos5-dt-common.h> | |
20 | + | |
21 | +#define CONFIG_BOARD_COMMON | |
22 | + | |
23 | +/* select serial console configuration */ | |
24 | +#define CONFIG_SERIAL3 /* use SERIAL 3 */ | |
25 | + | |
26 | +#define CONFIG_SYS_PROMPT "Peach-Pi # " | |
27 | +#define CONFIG_IDENT_STRING " for Peach-Pi" | |
28 | + | |
29 | +#define CONFIG_VIDEO_PARADE | |
30 | + | |
31 | +/* Display */ | |
32 | +#define CONFIG_LCD | |
33 | +#ifdef CONFIG_LCD | |
34 | +#define CONFIG_EXYNOS_FB | |
35 | +#define CONFIG_EXYNOS_DP | |
36 | +#define LCD_BPP LCD_COLOR16 | |
37 | +#endif | |
38 | + | |
39 | +#define CONFIG_POWER_TPS65090_EC | |
40 | +#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */ | |
41 | +#define CONFIG_DM_CROS_EC | |
42 | + | |
43 | +#define CONFIG_USB_XHCI | |
44 | +#define CONFIG_USB_XHCI_EXYNOS | |
45 | + | |
46 | +#endif /* __CONFIG_PEACH_PI_H */ |
include/configs/peach-pit.h
... | ... | @@ -23,8 +23,8 @@ |
23 | 23 | /* select serial console configuration */ |
24 | 24 | #define CONFIG_SERIAL3 /* use SERIAL 3 */ |
25 | 25 | |
26 | -#define CONFIG_SYS_PROMPT "Peach # " | |
27 | -#define CONFIG_IDENT_STRING " for Peach" | |
26 | +#define CONFIG_SYS_PROMPT "Peach-Pit # " | |
27 | +#define CONFIG_IDENT_STRING " for Peach-Pit" | |
28 | 28 | |
29 | 29 | #define CONFIG_VIDEO_PARADE |
30 | 30 |