add check for ignored CONFIG_ENV_EXT4_DEVICE_AND_PART definition
authorManuel Reis <mluis.reis@gmail.com>
Wed, 25 Nov 2020 10:16:20 +0000 (10:16 +0000)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 9 Dec 2020 09:57:50 +0000 (10:57 +0100)
commit81d4c4e45c015794f1fa96cc7f308bb27b11009a
tree1a5bfa67b5769eb3ed92db6d372777d7bb9be9bd
parentec79f5ce2202cf6c56e5eb1eb755604b534ae08b
add check for ignored CONFIG_ENV_EXT4_DEVICE_AND_PART definition

Check whether user has explicitly defined device and partition where
environment file will be located before using 'auto' i.e. bootable
partition

Voids the need to set such partition as bootable to work with the
'dev:auto' tuple

Signed-off-by: Manuel Reis <mluis.reis@gmail.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/st/stm32mp1/stm32mp1.c