diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-06-17 01:00:45 +0300 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-06-17 01:00:45 +0300 |
commit | 8a9a70a8db1f6864787db8b53364a130acdfc3f8 (patch) | |
tree | e97519ead603de5203d1bc03b8a73270d765303e /arch | |
parent | 98fb85957e377b637e555ad369179c22fff24582 (diff) |
tdx-cfg-block: fix serial number creation
Add proper calculation of offset for data structures, which size is not
multiple of 4 bytes.
Testing:
Verdin iMX8MM # cfgblock create 0038100206603368
A valid Toradex config block is present, still recreate? [y/N] y
Toradex config block successfully written
Verdin iMX8MM # reset
resetting ...
U-Boot 2018.03-00013-g98fb859-dirty (Jun 17 2020 - 00:58:58 +0300)
...
Model: ..., Serial#06603368
Relates-to: ELB-2772
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions