projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4545974
)
stm32mp1: align serial number on bootrom
author
Patrick Delaunay
<patrick.delaunay@st.com>
Wed, 27 Feb 2019 16:01:25 +0000
(17:01 +0100)
committer
Patrick 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-stm32mp/cpu.c
b/arch/arm/mach-stm32mp/cpu.c
index 305ea6dd643fb532e38ca7e229a75eec966765ed..5d79bde73319bcc8cc9b7d14cf8d4a2d924c9952 100644
(file)
--- a/
arch/arm/mach-stm32mp/cpu.c
+++ b/
arch/arm/mach-stm32mp/cpu.c
@@
-507,7
+507,7
@@
static int setup_serial_number(void)
if (ret < 0)
return ret;
- sprintf(serial_string, "%08
x%08x%08x
", otp[0], otp[1], otp[2]);
+ sprintf(serial_string, "%08
X%08X%08X
", otp[0], otp[1], otp[2]);
env_set("serial#", serial_string);
return 0;