
18 Jul
2017
18 Jul
'17
7:08 p.m.
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 lokeshvutla@ti.com
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom