projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1af031a
)
env: sf: update the use of macro ENV_SAVE_PTR
author
Patrick Delaunay
<patrick.delaunay@foss.st.com>
Tue, 9 Feb 2021 10:48:51 +0000
(11:48 +0100)
committer
Tom Rini
<trini@konsulko.com>
Fri, 16 Apr 2021 21:32:34 +0000
(17:32 -0400)
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>
env/sf.c
patch
|
blob
|
history
diff --git
a/env/sf.c
b/env/sf.c
index e13d41478b035c7e527eaa695bab84e546320192..20358f5c3f43f66885e839112828ffbc53f777d1 100644
(file)
--- a/
env/sf.c
+++ b/
env/sf.c
@@
-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,
};