summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm283x
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-04-14 18:53:32 +0200
committerHans de Goede <hdegoede@redhat.com>2016-04-27 19:54:11 +0200
commitbfb33f0bc45b9ee92ed2f85107cf20b9bfdf9f8a (patch)
tree58debd58922e64530266d1343c9cca280bf7d8a5 /arch/arm/mach-bcm283x
parente25b369c048b51b1feb79587750e7e160fc0bd73 (diff)
downloadtalos-obmc-uboot-bfb33f0bc45b9ee92ed2f85107cf20b9bfdf9f8a.tar.gz
talos-obmc-uboot-bfb33f0bc45b9ee92ed2f85107cf20b9bfdf9f8a.zip
sunxi: mctl_mem_matches: Add missing memory barrier
We are running with the caches disabled when mctl_mem_matches gets called, but the cpu's write buffer is still there and can still get in the way, add a memory barrier to fix this. This avoids mctl_mem_matches always returning false in some cases, which was resulting in: U-Boot SPL 2015.07 (Apr 14 2016 - 18:47:26) DRAM: 1024 MiB U-Boot 2015.07 (Apr 14 2016 - 18:47:26 +0200) Allwinner Technology CPU: Allwinner A23 (SUN8I) DRAM: 512 MiB Where 512 MiB is the right amount, but the DRAM controller would be initialized for 1024 MiB. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/mach-bcm283x')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud