diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-10 15:36:16 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 15:52:40 +0800 |
commit | 6723fda2be4bc2cf70aba7773775cd73fea5298c (patch) | |
tree | ab778fa4b6a20657f9b5696ca9b1f9660fd414a0 | |
parent | 4efa01ec28543213cbd9bf2adef02a9163f3168a (diff) | |
download | u-boot-imx-6723fda2be4bc2cf70aba7773775cd73fea5298c.zip u-boot-imx-6723fda2be4bc2cf70aba7773775cd73fea5298c.tar.gz u-boot-imx-6723fda2be4bc2cf70aba7773775cd73fea5298c.tar.bz2 |
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 <ye.li@nxp.com>
-rw-r--r-- | board/freescale/mx7dsabresd/mx7dsabresd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |