Commit 48f0e6bb376942414320a8a086a641c9f73d1745
Exists in
smarc_8mq_lf_v2020.04
and in
20 other branches
Merge git://git.denx.de/u-boot-rockchip
Showing 1 changed file Side-by-side Diff
board/theobroma-systems/puma_rk3399/puma-rk3399.c
| ... | ... | @@ -173,7 +173,7 @@ |
| 173 | 173 | |
| 174 | 174 | serialno = crc32_no_comp(0, low, 8); |
| 175 | 175 | serialno |= (u64)crc32_no_comp(serialno, high, 8) << 32; |
| 176 | - snprintf(serialno_str, sizeof(serialno_str), "%llx", serialno); | |
| 176 | + snprintf(serialno_str, sizeof(serialno_str), "%016llx", serialno); | |
| 177 | 177 | |
| 178 | 178 | env_set("cpuid#", cpuid_str); |
| 179 | 179 | env_set("serial#", serialno_str); |