stm32mp1: use the command env info in env_check
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 2 Jul 2020 15:43:45 +0000 (17:43 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 7 Jul 2020 14:01:23 +0000 (16:01 +0200)
commitc16cba88bd469353b0f6265e1f507200f20e3d6d
tree1d9a50f1639a99f43dba3cda80bcec9ed933e37b
parent8b5206d9e48576ff94f48e98803154e0e9f8fb1d
stm32mp1: use the command env info in env_check

Activate CMD_NVEDIT_INFO and use the new command "env info -d -p -q"
to automatically save the environment on first boot.

This patch allows to remove the env_default variable.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/Kconfig
include/configs/stm32mp1.h