env: enable saveenv command when one CONFIG_ENV_IS_IN is activated
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 18 Feb 2019 09:58:16 +0000 (10:58 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 6 Jun 2019 15:40:13 +0000 (17:40 +0200)
commit2643c85da2519739ebd2323329011b860198d7b3
treef89c657b5725be3d3bc7bf96502fd1a5f52d84cb
parent208bd2b85ecce9ecf2d661f51dba682f8ce0b074
env: enable saveenv command when one CONFIG_ENV_IS_IN is activated

Introduce ENV_IS_IN_DEVICE to test if one the
CONFIG_ENV_IS_IN_ is defined and support the command
saveenv even if CONFIG_ENV_IS_NOWHERE is activated

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
cmd/nvedit.c