]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3399-puma: preserve leading zeros in serial#
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Thu, 7 Dec 2017 15:20:44 +0000 (16:20 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 8 Dec 2017 10:49:39 +0000 (11:49 +0100)
commitb32b1bd10b86d01a26056f50de89f768e5183ed1
tree9a3d44f7d69950e067150e8e2cc9312a63adf594
parent6c7010b779ef29a40ed66acc414f65d2f4b75ced
rockchip: rk3399-puma: preserve leading zeros in serial#

Linux preserves leading zeros in /proc/cpuinfo, so we
should as well.

Otherwise we have the situation that
/sys/firmware/devicetree/base/serial-number
and /proc/cpuinfo disagree in Linux.

Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
board/theobroma-systems/puma_rk3399/puma-rk3399.c