]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: sf: add missing spi_flash_free
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 24 Feb 2021 10:52:35 +0000 (11:52 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Apr 2021 21:33:09 +0000 (17:33 -0400)
commitc2d00364c1d638eaa85d5f1384170f610b3c4beb
treef8b6f8e5e124451886d34d5bbe9d0cdd1725bdb6
parent25d90ad45ab336bab6a21f0668b8c98a2939ff32
env: sf: add missing spi_flash_free

Free the SPI resources by calling spi_flash_free() in each env sf
function to avoid issue for other SPI users.

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