]> git.baikalelectronics.ru Git - uboot.git/commit
tdx-cfg-block: fix off by one issue
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 25 Mar 2019 16:18:29 +0000 (17:18 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:10 +0000 (20:30 +0200)
commit800175c9070f684765200811b22c3315320ee35e
treeac28bd2efaa9a2b580fe5b60b3283c07addf445c
parentf2c6992ebb827ae696da958980e22790e13ad87b
tdx-cfg-block: fix off by one issue

Fix toradex_modules array off by one issue potentially leading to
spurious printout during boot e.g.

    Model: Toradex  V1.2A,

instead of

    Model: Toradex UNKNOWN MODULE V1.2A.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/common/tdx-cfg-block.c