commit | 5cb843ca0f781b62dc9793b26926d0b8efef5576 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Wed Jul 20 11:57:03 2011 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Aug 12 15:40:57 2011 +0100 |
tree | d39a92f10ad51b98e989669ed47b532e85c876d0 | |
parent | 7fdd3c49629e8aab48dbd1b2f800854b0f93cba0 [diff] |
ARM: realview: ensure visibility of writes during reset The various reset routines in mach-realview rely on an FPGA to power-cycle the board after writing some magic runes to memory-mapped registers. This patch adds a dsb() following the writes, so that they become visible before we mdelay(1000) in the arch_reset code. Without this patch, the timeout would expire sporadically, causing the reset to fail. Signed-off-by: Will Deacon <will.deacon@arm.com>