aboutsummaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorPatrick Delaunay2021-02-24 11:52:36 +0100
committerTom Rini2021-04-16 17:33:33 -0400
commitecf154423258cb4f0d7ee1ff29d26b0f69f67ac4 (patch)
tree4277ef551c64391e92d1a57410a09dda59d7a508 /dts
parentc2d00364c1d638eaa85d5f1384170f610b3c4beb (diff)
env: sf: remove the static env_flash variable
As the the SPI flash is probed and is released in each ENV sf function the env_flash no more need to be static. This patch move this device handle as local variable of each function and simplify the associated code (env_flash is never == NULL when setup_flash_device is called). Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions