diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2022-06-03 16:09:14 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2022-06-14 10:51:24 +0200 |
commit | 32957d21729fe2dc7ab12a42d751d1aa34c80618 (patch) | |
tree | 362427cae4e76bb87768444b604c11438713d97c /include/ata.h | |
parent | 7eccd74f8ba64849398c6a994a2e6a099f926750 (diff) |
toradex: tdx-cfg-block: extend assembly version
i[ 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 'include/ata.h')
0 files changed, 0 insertions, 0 deletions