]> git.baikalelectronics.ru Git - uboot.git/commitdiff
stm32mp1: align serial number on bootrom
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 27 Feb 2019 16:01:25 +0000 (17:01 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Apr 2019 14:09:13 +0000 (16:09 +0200)
Always use upper case for serial number.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/cpu.c

index 305ea6dd643fb532e38ca7e229a75eec966765ed..5d79bde73319bcc8cc9b7d14cf8d4a2d924c9952 100644 (file)
@@ -507,7 +507,7 @@ static int setup_serial_number(void)
        if (ret < 0)
                return ret;
 
-       sprintf(serial_string, "%08x%08x%08x", otp[0], otp[1], otp[2]);
+       sprintf(serial_string, "%08X%08X%08X", otp[0], otp[1], otp[2]);
        env_set("serial#", serial_string);
 
        return 0;