[U-Boot] [PATCH v4 09/42] spl: bootcount: Move code out of header file

Tom Rini trini at konsulko.com
Wed Nov 20 00:46:32 UTC 2019

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 at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191119/ca567884/attachment.sig>

More information about the U-Boot mailing list