board: stm32mp1: read OTP in command stboard
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 12 Feb 2020 18:37:36 +0000 (19:37 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 24 Mar 2020 13:05:35 +0000 (14:05 +0100)
commitfdabacecf0af242d92e312faa4df6c24857f8935
treeb6322987be72c49de1e2917bf2b5a06bf0e45389
parent16aa3e3fdcd36b9a26be54656c9747fb59f8bb3b
board: stm32mp1: read OTP in command stboard

Read the value directly from the OTP and no more of the shadows
to avoid the need of reboot after stboard command to have correct value.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
board/st/common/cmd_stboard.c