summaryrefslogtreecommitdiff
path: root/board/toradex/common/tdx-cfg-block.h
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2022-06-03 16:09:14 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2022-06-14 10:35:16 +0200
commit3a3cfe7970e92db0aa7ee7f8a6c5977c6cdc4bce (patch)
treeeb1930388280cf2ffb6a0ec27f1687048d2e5122 /board/toradex/common/tdx-cfg-block.h
parentcc59807f744f4c63f1edb9e51a1c2a75f3e53cd8 (diff)
toradex: tdx-cfg-block: extend assembly version
[ backport https://lists.denx.de/pipermail/u-boot/2022-June/486350.html ] There are two decimal digits reserved to encode the module version and revision. This code so far implemented A-Z which used 0-25 of this range. This commit extends the range to make use of all 99 numbers. After capital letters the form with a hashtag and number (e.g. #26) is used. Examples: If the assembly version is between zero and 25 the numbering is as follows, as it also has been before this commit: 0: V0.0A 1: V0.0B ... 25: V0.0Z New numbering of assembly version: If the number is between 26 and 99 the new assembly version name is: 26: V0.0#26 27: V0.0#27 ... 99: V0.0#99 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> [ps: backport: replace dectoul() with simple_strtoul()]
Diffstat (limited to 'board/toradex/common/tdx-cfg-block.h')
0 files changed, 0 insertions, 0 deletions