Hi Tom, On 27.09.2013 21:26, Tom Rini wrote: > Add a new symbol, CONFIG_SPL_BOOTCOUNT_SUPPORT, to make use of the > existing BOOTCOUNT_SUPPORT within SPL. It is strongly discouraged to > use bootcount in both SPL and full U-Boot, as they use the same counter.
I just noticed that I missed sending the SPL bootcount implementation I did a few weeks ago to the list. I'll send it shortly. The main differences I see right now are: - My implementation requires CONFIG_BOOTCOUNT_LIMIT and CONFIG_SPL_BOOTCOUNT_SUPPORT to be configured - The check is not added to the board-specific code, but the medium code (here spl_nor.c). This might be consolidated even more by moving it to a non-boot-medium specific location (spl.c)? Please take a look at it and let me know if which way to go. Thanks, Stefan _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot