From 6723fda2be4bc2cf70aba7773775cd73fea5298c Mon Sep 17 00:00:00 2001 From: Ye Li Date: Thu, 10 Mar 2016 15:36:16 +0800 Subject: MLK-12529 mx7dsabresd: Fix soc revision check issue The is_soc_rev returns true when the revision is matched, this is opposited with uboot v2015 which returns 0. Have to fix this for mx7dsabresd Signed-off-by: Ye Li --- board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 35b55cd..11e294a 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -292,7 +292,7 @@ static int mx7sabre_rev(void) } } else { /* If the gp1 fuse is not burn, we have to use TO rev for the board rev */ - if (0 == is_soc_rev(CHIP_REV_1_0)) + if (is_soc_rev(CHIP_REV_1_0)) ret = BOARD_REV_A; else ret = BOARD_REV_B; -- cgit v1.1