mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
env: sf: update the use of macro ENV_SAVE_PTR
Remove CONFIG_IS_ENABLED(SAVEENV) as it is already tested in the ENV_SAVE_PTR macro. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
This commit is contained in:
parent
1af031ac3e
commit
e41f55b32e
1 changed files with 1 additions and 1 deletions
2
env/sf.c
vendored
2
env/sf.c
vendored
|
@ -414,6 +414,6 @@ U_BOOT_ENV_LOCATION(sf) = {
|
|||
.location = ENVL_SPI_FLASH,
|
||||
ENV_NAME("SPIFlash")
|
||||
.load = env_sf_load,
|
||||
.save = CONFIG_IS_ENABLED(SAVEENV) ? ENV_SAVE_PTR(env_sf_save) : NULL,
|
||||
.save = ENV_SAVE_PTR(env_sf_save),
|
||||
.init = env_sf_init,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue