mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 15:08:59 +00:00
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> |
||
---|---|---|
.. | ||
am43xx | ||
am57xx | ||
am335x | ||
am3517crane | ||
beagle | ||
common | ||
dra7xx | ||
evm | ||
ks2_evm | ||
omap5_uevm | ||
panda | ||
sdp4430 | ||
ti814x | ||
ti816x |