From: Lokesh Vutla <lokeshvutla@ti.com>
Date: Sat, 19 Sep 2015 10:56:39 +0000 (+0530)
Subject: ARM: k2g: Add kconfig support
X-Git-Tag: v2025.01-rc5-pxa1908~11473
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=f9c4a51c3e1bc73c5c2ae178cf41aa85bada1fc8;p=u-boot.git

ARM: k2g: Add kconfig support

Add Kconfig support

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---

diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig
index 67f1a33241..e1962c779a 100644
--- a/arch/arm/mach-keystone/Kconfig
+++ b/arch/arm/mach-keystone/Kconfig
@@ -13,6 +13,9 @@ config TARGET_K2E_EVM
 config TARGET_K2L_EVM
 	bool "TI Keystone 2 Lamar EVM"
 
+config TARGET_K2G_EVM
+	bool "TI Keystone 2 Galileo EVM"
+
 endchoice
 
 config SYS_SOC
diff --git a/board/ti/ks2_evm/Kconfig b/board/ti/ks2_evm/Kconfig
index 384b175e9c..c0568ec50c 100644
--- a/board/ti/ks2_evm/Kconfig
+++ b/board/ti/ks2_evm/Kconfig
@@ -36,3 +36,16 @@ config SYS_CONFIG_NAME
 	default "k2l_evm"
 
 endif
+
+if TARGET_K2G_EVM
+
+config SYS_BOARD
+	default "ks2_evm"
+
+config SYS_VENDOR
+	default "ti"
+
+config SYS_CONFIG_NAME
+	default "k2g_evm"
+
+endif