]> git.baikalelectronics.ru Git - uboot.git/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)
commitf0a4b10f56b16e5d0628bd64172e396185aa3a40
treefff3e6147591d0077d0786440a16fac811811d9f
parentddbc7ec33ce45f00f23000ddb7fadc7580af254d
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