[U-Boot] [PATCH 30/31] ARM: k2g: Add K2G ICE DTB to the list of possible DTBs

Franklin S Cooper Jr fcooper at ti.com
Thu Mar 2 19:04:34 UTC 2017


K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs
located in the appended U-boot dtb FIT image. Therefore, when swapping out
dtbs K2G ICE boards can grab the correct one.

Signed-off-by: Franklin S Cooper Jr <fcooper at ti.com>
---
 board/ti/ks2_evm/board_k2g.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c
index 70164ee..e7b9bab 100644
--- a/board/ti/ks2_evm/board_k2g.c
+++ b/board/ti/ks2_evm/board_k2g.c
@@ -131,6 +131,8 @@ int board_fit_config_name_match(const char *name)
 		return 0;
 	else if (!strcmp(name, "keystone-k2g-evm") && board_ti_is("66AK2GGP"))
 		return 0;
+	else if (!strcmp(name, "keystone-k2g-ice") && board_ti_is("66AK2GIC"))
+		return 0;
 	else
 		return -1;
 }
-- 
2.10.0



More information about the U-Boot mailing list