| #
b40c76c5 |
| 10-Jul-2024 |
Thomas Perrot <thomas.perrot@bootlin.com> |
drivers: nvmem: atmel_sfc: check the length before read cell
Check requested NVMEM cells length in Atmel SFC driver to prevent issues in case the length is greater than the fuse size.
Signed-off-by
drivers: nvmem: atmel_sfc: check the length before read cell
Check requested NVMEM cells length in Atmel SFC driver to prevent issues in case the length is greater than the fuse size.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
6370f75d |
| 25-Sep-2023 |
Tony Han <tony.han@microchip.com> |
drivers: sam: use header file "platform_config.h" instead of "sama5d2.h"
As "sama5d2.h" is included in "platform_config.h" it's better to use "#include <platform_config.h>" for support more devices
drivers: sam: use header file "platform_config.h" instead of "sama5d2.h"
As "sama5d2.h" is included in "platform_config.h" it's better to use "#include <platform_config.h>" for support more devices later.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| #
95e26dbd |
| 22-Mar-2023 |
Clément Léger <clement.leger@bootlin.com> |
drivers: nvmem: add atmel_sfc driver
This driver handles the secure fuse controller that is present on the sama5d2 series. It allows to read a 544 bits user defined area of fuses. Content is exposed
drivers: nvmem: add atmel_sfc driver
This driver handles the secure fuse controller that is present on the sama5d2 series. It allows to read a 544 bits user defined area of fuses. Content is exposed through 17 32 bits registers. Rather than adding complicated logic in atmel_sfc_read() for individual bytes, read all the 16 registers at once (which are loaded at SoC startup from fuses) and store them in an array convenient for copying from it to buffers.
Signed-off-by: Clément Léger <clement.leger@bootlin.com> Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|