Commit 384b1d50 authored by Stefan Roese's avatar Stefan Roese Committed by Tom Rini

bootcounter_ram: Fix misaligned cache warning

This patch fixes the warning about misaligned cache on Armada XP:

CACHE: Misaligned operation at range [7ffff000, 7fffffac]
Signed-off-by: default avatarStefan Roese <>
Cc: Valentin Longchamp <>
Reviewed-by: default avatarTom Rini <>
parent ca388143
......@@ -37,7 +37,8 @@ void bootcount_store(ulong a)
/* Make sure the data is written to RAM */
(ulong)&save_addr[REPEAT_PATTERN + OFFS_PATTERN]);
(((ulong)&save_addr[REPEAT_PATTERN + OFFS_PATTERN] &
ulong bootcount_load(void)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment