summaryrefslogtreecommitdiffstats
path: root/tools/microcode-tool
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-07-16 19:59:18 +0530
committerTom Rini <trini@konsulko.com>2017-07-26 11:26:49 -0400
commit7087922477a08bd1c06bcb5a280ff5e81065ec30 (patch)
tree62dc0e74225a86f2429b7cae731bd7f7e79c64e8 /tools/microcode-tool
parent9cb1c49afb84d102fc6915bdb106069826ad3c92 (diff)
downloadu-boot-7087922477a08bd1c06bcb5a280ff5e81065ec30.tar.gz
u-boot-7087922477a08bd1c06bcb5a280ff5e81065ec30.tar.xz
u-boot-7087922477a08bd1c06bcb5a280ff5e81065ec30.zip
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>
Diffstat (limited to 'tools/microcode-tool')
0 files changed, 0 insertions, 0 deletions