Re: [PATCH 1/2] bootcount: add bootcount flash driver

2020-04-23 Thread Daniel Schwierzeck
Am 22.04.20 um 12:46 schrieb Arnaud Ferraris: > In order to save the bootcounter on raw flash device, this commit > introduces a new bootcount driver, enabled using the > CONFIG_BOOTCOUNT_FLASH option. > > The bootcounter is stored at address CONFIG_SYS_BOOTCOUNT_FLASH_ADDR > (absolute address,

[PATCH 1/2] bootcount: add bootcount flash driver

2020-04-22 Thread Arnaud Ferraris
In order to save the bootcounter on raw flash device, this commit introduces a new bootcount driver, enabled using the CONFIG_BOOTCOUNT_FLASH option. The bootcounter is stored at address CONFIG_SYS_BOOTCOUNT_FLASH_ADDR (absolute address, can also be computed from CONFIG_SYS_BOOTCOUNT_FLASH_OFFSET)