ARM: k2g: Add K2G ICE DTB to the list of possible DTBs
authorCooper Jr., Franklin <fcooper@ti.com>
Fri, 16 Jun 2017 22:25:32 +0000 (17:25 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 10 Jul 2017 18:26:01 +0000 (14:26 -0400)
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@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/ks2_evm/board_k2g.c

index fcab9c6c6e8a9a3ce3aa8acd76da2d03b8af1e75..21605762ef51a59dc1bfdad80397c529e66d5cf5 100644 (file)
@@ -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;
 }