[PATCH] ARM: GuF Vincell: run code for LT variant aswell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The LT variant has a different compatible, yet we want to run the
code on this variant aswell. Add the corresponding test.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/boards/guf-vincell/board.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boards/guf-vincell/board.c b/arch/arm/boards/guf-vincell/board.c
index ad47ee2..43c1952 100644
--- a/arch/arm/boards/guf-vincell/board.c
+++ b/arch/arm/boards/guf-vincell/board.c
@@ -40,7 +40,8 @@ static void vincell_fec_reset(void)
 
 static int vincell_devices_init(void)
 {
-	if (!of_machine_is_compatible("guf,imx53-vincell"))
+	if (!of_machine_is_compatible("guf,imx53-vincell") &&
+	    !of_machine_is_compatible("guf,imx53-vincell-lt"))
 		return 0;
 
 	writel(0, MX53_M4IF_BASE_ADDR + 0xc);
-- 
2.8.0.rc3


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux