diff options
| author | Tom Rini <[email protected]> | 2026-03-23 13:51:05 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-07 11:30:41 -0600 |
| commit | 8af4e124875932567cea627e04f26cf5cc529e25 (patch) | |
| tree | 5d68dfb50faac6798764d370618c79408d644a53 /env/nvram.c | |
| parent | 93f84ee022a8401421cdaab84fe7d106d83fdb4a (diff) | |
env: Make more use of the ENV_SAVE_PTR macro
With commit 82b2f4135719 ("env_internal.h: add alternative ENV_SAVE_PTR
macro") we introduced the ENV_SAVE_PTR macro but as explained in the
commit message, left full conversion for a later time. This commit
makes more progress on that front by doing the remaining easy
conversions to the new macro.
Signed-off-by: Tom Rini <[email protected]>
Changes in v2:
- Reduce the number of conversions, some didn't work as expected once
CMD_SAVEENV was actually disabled.
- Finish converting UBI
Cc Rasmus Villemoes <[email protected]>
Diffstat (limited to 'env/nvram.c')
| -rw-r--r-- | env/nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/nvram.c b/env/nvram.c index d49cd0f337a..18f0a0aa1fb 100644 --- a/env/nvram.c +++ b/env/nvram.c @@ -65,6 +65,6 @@ U_BOOT_ENV_LOCATION(nvram) = { .location = ENVL_NVRAM, ENV_NAME("NVRAM") .load = env_nvram_load, - .save = env_save_ptr(env_nvram_save), + .save = ENV_SAVE_PTR(env_nvram_save), .init = env_nvram_init, }; |
