Searched hist:"7087922477 a08bd1c06bcb5a280ff5e81065ec30" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/board/ti/am57xx/ |
| H A D | board.c | 7087922477a08bd1c06bcb5a280ff5e81065ec30 Sun Jul 16 14:29:18 UTC 2017 Lokesh Vutla <lokeshvutla@ti.com> board: ti: am57xx: Fix detection of board version
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 <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|