]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Config: Exynos5800: Enable build for Peach-Pi
authorAkshay Saraswat <akshay.s@samsung.com>
Thu, 13 Nov 2014 17:08:17 +0000 (22:38 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 17 Nov 2014 10:03:38 +0000 (19:03 +0900)
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>
arch/arm/cpu/armv7/exynos/Kconfig
board/samsung/smdk5420/Kconfig
board/samsung/smdk5420/MAINTAINERS
configs/peach-pi_defconfig [new file with mode: 0644]
include/configs/exynos5420-common.h
include/configs/peach-pi.h [new file with mode: 0644]
include/configs/peach-pit.h

index 090be9383fc03cf3857d24b860678d01e9103034..13dbd95c02cb5625918e263bdcc54b84e57a78dc 100644 (file)
@@ -44,11 +44,16 @@ config TARGET_SMDK5420
        select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
-config TARGET_PEACH_PIT
+config TARGET_PEACH_PI
        bool "Peach Pi board"
        select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
+config TARGET_PEACH_PIT
+       bool "Peach Pit board"
+       select SUPPORT_SPL
+       select OF_CONTROL if !SPL_BUILD
+
 endchoice
 
 config SYS_SOC
index d3a5b7f7d7f2fb8286429f9b7663157fb969ef9f..e7aafe5bebd3600c1bd4313d783e9b5313eb670d 100644 (file)
@@ -1,3 +1,19 @@
+if TARGET_PEACH_PI
+
+config SYS_BOARD
+       string
+       default "smdk5420"
+
+config SYS_VENDOR
+       string
+       default "samsung"
+
+config SYS_CONFIG_NAME
+       string
+       default "peach-pi"
+
+endif
+
 if TARGET_PEACH_PIT
 
 config SYS_BOARD
index e0f5c7a530e88d1bf0819d31876628e1ad60ab5c..1423f839955a3c8db4755a25641c5305bc1f3feb 100644 (file)
@@ -6,3 +6,5 @@ F:      include/configs/peach-pit.h
 F:     configs/peach-pit_defconfig
 F:     include/configs/smdk5420.h
 F:     configs/smdk5420_defconfig
+F:     include/configs/peach-pi.h
+F:     configs/peach-pi_defconfig
diff --git a/configs/peach-pi_defconfig b/configs/peach-pi_defconfig
new file mode 100644 (file)
index 0000000..8ada0db
--- /dev/null
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_EXYNOS=y
++S:CONFIG_TARGET_PEACH_PI=y
+CONFIG_DEFAULT_DEVICE_TREE="exynos5800-peach-pi"
index b0f940cd164a81dd2031e4d04e40b08847fa2645..03f941ccd204bbbd6a7d25945e73e8d0534931ce 100644 (file)
@@ -10,6 +10,8 @@
 #define __CONFIG_EXYNOS5420_H
 
 #define CONFIG_EXYNOS5420
+/* A variant of Exynos5420 (Exynos5 Family) */
+#define CONFIG_EXYNOS5800
 
 #define CONFIG_ENV_IS_IN_SPI_FLASH
 #define CONFIG_SPI_FLASH
@@ -38,7 +40,8 @@
 
 #define CONFIG_SPL_MAX_FOOTPRINT       (30 * 1024)
 
-#define CONFIG_DEVICE_TREE_LIST "exynos5420-peach-pit exynos5420-smdk5420"
+#define CONFIG_DEVICE_TREE_LIST "exynos5800-peach-pi"  \
+                               "exynos5420-peach-pit exynos5420-smdk5420"
 
 #define CONFIG_MAX_I2C_NUM     11
 
diff --git a/include/configs/peach-pi.h b/include/configs/peach-pi.h
new file mode 100644 (file)
index 0000000..d8da7ef
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2014 Samsung Electronics
+ *
+ * Configuration settings for the SAMSUNG/GOOGLE PEACH-PI board.
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#ifndef __CONFIG_PEACH_PI_H
+#define __CONFIG_PEACH_PI_H
+
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_SPI_FLASH
+#define CONFIG_ENV_SPI_BASE    0x12D30000
+#define FLASH_SIZE             (0x4 << 20)
+#define CONFIG_ENV_OFFSET      (FLASH_SIZE - CONFIG_BL2_SIZE)
+
+#include <configs/exynos5420-common.h>
+#include <configs/exynos5-dt-common.h>
+
+#define CONFIG_BOARD_COMMON
+
+/* select serial console configuration */
+#define CONFIG_SERIAL3         /* use SERIAL 3 */
+
+#define CONFIG_SYS_PROMPT      "Peach-Pi # "
+#define CONFIG_IDENT_STRING    " for Peach-Pi"
+
+#define CONFIG_VIDEO_PARADE
+
+/* Display */
+#define CONFIG_LCD
+#ifdef CONFIG_LCD
+#define CONFIG_EXYNOS_FB
+#define CONFIG_EXYNOS_DP
+#define LCD_BPP                        LCD_COLOR16
+#endif
+
+#define CONFIG_POWER_TPS65090_EC
+#define CONFIG_CROS_EC_SPI             /* Support CROS_EC over SPI */
+#define CONFIG_DM_CROS_EC
+
+#define CONFIG_USB_XHCI
+#define CONFIG_USB_XHCI_EXYNOS
+
+#endif /* __CONFIG_PEACH_PI_H */
index 91bd37d6bca60fb9dfa9bc88ff61da2fad4bf8df..29a099687ae1168a8e4457aa82e8251adb690cdb 100644 (file)
@@ -23,8 +23,8 @@
 /* select serial console configuration */
 #define CONFIG_SERIAL3         /* use SERIAL 3 */
 
-#define CONFIG_SYS_PROMPT      "Peach # "
-#define CONFIG_IDENT_STRING    " for Peach"
+#define CONFIG_SYS_PROMPT      "Peach-Pit # "
+#define CONFIG_IDENT_STRING    " for Peach-Pit"
 
 #define CONFIG_VIDEO_PARADE