commit | c11c19fcc2671d68b5eb16ccccd9ace8be992264 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 14 12:57:17 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Dec 02 18:23:08 2019 -0500 |
tree | 6e6be967379258f6439f224f7df1ec8d916e328a | |
parent | 48b6c6b113d15834262e44bb8be19175afcb7503 [diff] |
spl: bootcount: Move code out of header file It is not good practice to write code in a header file. If it is included multiple times then the code can cause duplicate functions. Move the bootcount_store() and bootcount_load() functions into SPL. Note: bootcount is a bit strange in that it uses driver model but does not define proper drivers. This should be fixed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>