[U-Boot] [PATCH v1 0/4] env tools fixes

Stefano Babic sbabic at denx.de
Wed Apr 5 16:07:59 UTC 2017


This series addresses some issues when the environment tools
are used as library and linked to an external program.


Stefano Babic (4):
  Rename aes.h to uboot_aes.h
  env: split fw_env.h in public and private parts
  env: add a version number to check API
  env: fix memory leak in fw_env routines

 arch/arm/mach-tegra/tegra20/crypto.c |  2 +-
 cmd/aes.c                            |  2 +-
 common/env_common.c                  |  2 +-
 common/env_flags.c                   |  1 +
 include/{aes.h => uboot_aes.h}       |  0
 lib/aes.c                            |  2 +-
 tools/env/fw_env.c                   | 73 ++++++++++++++++++++++++++--------
 tools/env/fw_env.h                   | 77 +++++++++++++-----------------------
 tools/env/fw_env_main.c              |  1 +
 tools/env/fw_env_private.h           | 55 ++++++++++++++++++++++++++
 10 files changed, 145 insertions(+), 70 deletions(-)
 rename include/{aes.h => uboot_aes.h} (100%)
 create mode 100644 tools/env/fw_env_private.h

-- 
2.7.4



More information about the U-Boot mailing list