summaryrefslogtreecommitdiff
path: root/board/theobroma-systems/puma_rk3399/puma-rk3399.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-12-08 09:32:10 -0500
committerTom Rini <trini@konsulko.com>2017-12-08 09:32:10 -0500
commit48f0e6bb376942414320a8a086a641c9f73d1745 (patch)
tree9a3d44f7d69950e067150e8e2cc9312a63adf594 /board/theobroma-systems/puma_rk3399/puma-rk3399.c
parent6c7010b779ef29a40ed66acc414f65d2f4b75ced (diff)
parentb32b1bd10b86d01a26056f50de89f768e5183ed1 (diff)
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'board/theobroma-systems/puma_rk3399/puma-rk3399.c')
-rw-r--r--board/theobroma-systems/puma_rk3399/puma-rk3399.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
index 0ad267cdd0..27e3823d52 100644
--- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c
+++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
@@ -173,7 +173,7 @@ static void setup_serial(void)
serialno = crc32_no_comp(0, low, 8);
serialno |= (u64)crc32_no_comp(serialno, high, 8) << 32;
- snprintf(serialno_str, sizeof(serialno_str), "%llx", serialno);
+ snprintf(serialno_str, sizeof(serialno_str), "%016llx", serialno);
env_set("cpuid#", cpuid_str);
env_set("serial#", serialno_str);