
20 Nov
2019
20 Nov
'19
1:46 a.m.
On Thu, Nov 14, 2019 at 12:57:17PM -0700, Simon Glass wrote:
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
--
Tom