configs:stm32mp1: activate env config in SPL
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 15 Jun 2020 09:18:24 +0000 (11:18 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 28 Jul 2020 15:21:37 +0000 (17:21 +0200)
commitb0cbafe5090e9e2df290db29a3483529aa804ed3
treeb78a0df7fc4a58e530f75b5547bd72e45e8ca1a7
parent76db1681da52342ca9f4fb7e6787bd83cc82f429
configs:stm32mp1: activate env config in SPL

Activate env config in SPL with CONFIG_SPL_ENV_SUPPORT
and use CONFIG_IS_ENABLED macro to test the activated
CONFIG_$(SPL_)ENV_IS_IN_... in env_get_location.

Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
board/st/stm32mp1/stm32mp1.c
configs/stm32mp15_basic_defconfig