]> git.sur5r.net Git - u-boot/commit
env: add a version number to check API
authorStefano Babic <sbabic@denx.de>
Wed, 5 Apr 2017 16:08:02 +0000 (18:08 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 12 Apr 2017 17:28:29 +0000 (13:28 -0400)
commit00c234f38fccaa24b052691913cb3a7e8bc2b3a1
treefff3e6147591d0077d0786440a16fac811811d9f
parent9d80b49a671c9922931adcd823aab0ed319a42d1
env: add a version number to check API

Changes in the environment library are difficult to tracked by programs
using the library. Add simply an API version number that must be
increased each time when the API is changed.

This can be detected and a program can work with different versions of
the library.

Signed-off-by: Stefano Babic <sbabic@denx.de>
tools/env/fw_env.h