summaryrefslogtreecommitdiff
path: root/drivers/eeprom/eeprom_transient.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/eeprom/eeprom_transient.c')
-rw-r--r--drivers/eeprom/eeprom_transient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/eeprom/eeprom_transient.c b/drivers/eeprom/eeprom_transient.c
index 318a827900..b4c78c6f40 100644
--- a/drivers/eeprom/eeprom_transient.c
+++ b/drivers/eeprom/eeprom_transient.c
@@ -20,7 +20,7 @@
#include "eeprom_driver.h"
#include "eeprom_transient.h"
-static uint8_t transientBuffer[TRANSIENT_EEPROM_SIZE] = {0};
+__attribute__((aligned(4))) static uint8_t transientBuffer[TRANSIENT_EEPROM_SIZE] = {0};
size_t clamp_length(intptr_t offset, size_t len) {
if (offset + len > TRANSIENT_EEPROM_SIZE) {