Skip to content
Commit 7f7deb0c authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

stm32mp1: use OTP to configure MAC address and serial number



Use OTP57 and 58 for MAC address
- OTP57 = MAC address  bits [31:0]
- OTP58 = MAC address  bit  [47:32] stored in OTP  LSB's

Use manufacture information in OTP13 to OTP15 to build unique
chip id saved in env variable "serial#"
(used for USB device enumeration)

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent c3600e1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment