On devices where the backup memory is part of the TAMP peripheral, the Backup Domain Protection prevents write to the backup registers. This fix disables the protection before writing registers and re-enables it afterwards. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> |
||
|---|---|---|
| .. | ||
| bbram_emul.c | ||
| bbram_handlers.c | ||
| bbram_it8xxx2_emul.c | ||
| bbram_it8xxx2.c | ||
| bbram_microchip_mcp7940n_emul.c | ||
| bbram_microchip_mcp7940n.c | ||
| bbram_npcx_emul.c | ||
| bbram_npcx.c | ||
| bbram_shell.c | ||
| bbram_stm32.c | ||
| bbram_xec.c | ||
| CMakeLists.txt | ||
| it8xxx2.h | ||
| Kconfig | ||
| Kconfig.bbram_emul | ||
| Kconfig.it8xxx2 | ||
| Kconfig.microchip | ||
| Kconfig.npcx | ||
| Kconfig.stm32 | ||
| Kconfig.xec | ||
| npcx.h | ||