]> git.baikalelectronics.ru Git - uboot.git/commit
board: fsl: lx2160a: Fix the loop in board_fix_fdt function
authorPankaj Bansal <pankaj.bansal@nxp.com>
Wed, 15 Jan 2020 05:57:00 +0000 (05:57 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 24 Jan 2020 08:58:26 +0000 (14:28 +0530)
commitb77e9ca8013f64e30fc63c8981ae595c00ce6899
tree16d7b2d5700061a22af0863df59661b0e595ebbe
parent4872fa84e0725c334b3da956bc1b381c241bcdd0
board: fsl: lx2160a: Fix the loop in board_fix_fdt function

Fix loop in board_fix_fdt that erroneously increments the counter
in all cases whereas the counter should be incremented only if a
matching string has been found.

Fixes: 6aa99d9741 ("board: fsl: lx2160a: implement board_fix_fdt")
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/lx2160a/lx2160a.c