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

Franklin S Cooper Jr fcooper at ti.com
Wed May 24 15:43:09 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>
Reviewed-by: Tom Rini <trini at konsulko.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 5f3fc76..bbd74ee 100644
--- a/board/ti/ks2_evm/board_k2g.c
+++ b/board/ti/ks2_evm/board_k2g.c
@@ -225,6 +225,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