On Sun, Jul 16, 2017 at 07:59:18PM +0530, Lokesh Vutla wrote: > board_is*("rev", board_ti_get_rev()) uses strncmp() for > revison detection and assumes it is success if return value > is <= 0. This will fail in case of multiple versions, as > revb will be true for board_is_*revb() and board_is_*reva(). > Fix it by looking for exact match of the string. > > Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com> > Reviewed-by: Tom Rini <tr...@konsulko.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot