configs:ks2_evm: update defconfigs to support SPL

Message ID 1412882436-27910-1-git-send-email-ivan.khoronzhuk@ti.com
State Accepted
Commit f6c7c75482e10d115dab3567d7da8225fb24be6d
Headers show

Commit Message

Ivan Khoronzhuk Oct. 9, 2014, 7:20 p.m.
From: Murali Karicheri <m-karicheri2@ti.com>

The K2HK and K2E boards support SPL by default, so add
CONFIG_SPL option. Also export CONFIG_ARM, CONFIG_ARCH_KEYSTONE
and TARGET_K2*_EVM options to spl/.config as they are the same.
So now it's convinient to build gph images using only two commands:

make k2hk_evm_defconfig
make u-boot-spi.gph

Acked-By: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
---
 configs/k2e_evm_defconfig  | 7 ++++---
 configs/k2hk_evm_defconfig | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

Comments

Tom Rini Oct. 10, 2014, 4:38 p.m. | #1
On Thu, Oct 09, 2014 at 10:20:36PM +0300, Khoronzhuk, Ivan wrote:

> From: Murali Karicheri <m-karicheri2@ti.com>
> 
> The K2HK and K2E boards support SPL by default, so add
> CONFIG_SPL option. Also export CONFIG_ARM, CONFIG_ARCH_KEYSTONE
> and TARGET_K2*_EVM options to spl/.config as they are the same.
> So now it's convinient to build gph images using only two commands:
> 
> make k2hk_evm_defconfig
> make u-boot-spi.gph
> 
> Acked-By: Murali Karicheri <m-karicheri2@ti.com>
> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/configs/k2e_evm_defconfig b/configs/k2e_evm_defconfig
index be8d2ee..9e70219 100644
--- a/configs/k2e_evm_defconfig
+++ b/configs/k2e_evm_defconfig
@@ -1,3 +1,4 @@ 
-CONFIG_ARM=y
-CONFIG_ARCH_KEYSTONE=y
-CONFIG_TARGET_K2E_EVM=y
+CONFIG_SPL=y
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_KEYSTONE=y
++S:CONFIG_TARGET_K2E_EVM=y
diff --git a/configs/k2hk_evm_defconfig b/configs/k2hk_evm_defconfig
index eee3335..e04e315 100644
--- a/configs/k2hk_evm_defconfig
+++ b/configs/k2hk_evm_defconfig
@@ -1,3 +1,4 @@ 
-CONFIG_ARM=y
-CONFIG_ARCH_KEYSTONE=y
-CONFIG_TARGET_K2HK_EVM=y
+CONFIG_SPL=y
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_KEYSTONE=y
++S:CONFIG_TARGET_K2HK_EVM=y