]> git.baikalelectronics.ru Git - uboot.git/commit
env: ext4: add support of command env erase
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 28 Jul 2020 09:51:26 +0000 (11:51 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 31 Jul 2020 14:13:00 +0000 (10:13 -0400)
commitc5d723fb1ea727c7cfe9ef8cc83203db7a8f65c4
tree9d18f27258949193b0ec60d1fc0dfc6cb8d362b9
parentbf02a9a597bfbc5e536031bfcaedba0d55290c03
env: ext4: add support of command env erase

Add support of opts erase for env in ext4,
this opts is used by command 'env erase'.

This command only fill the env file (CONFIG_ENV_EXT4_FILE)
with 0, the CRC and the saved environment becomes invalid.

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