switch-coreboot/src
Julius Werner 12de698c24 arm: Import armv7_dcache_wbinv_all function from NetBSD
This patch pulls in NetBSD's full cache flushing algorithm for ARM, to
replace our old, slow and slightly overzealous C-only implementation.
It's a beautiful piece of code that manages to run on only caller-saved
registers (meaning it doesn't need to write to memory) in a very tight
loop, and it's BSD-licensed to boot (which we need for libpayload).
Unfortunately it's also not quite correct, but I can fix that. Pulling
the original in a separate commit to make it more obvious what changes
are mine.

Change-Id: I7a71c9e570866a6e25f756cb09ae2b6445048d83
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/183878
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 4698467320613d7ddc39714f40aacbc990af9399)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6931
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2014-09-29 17:26:22 +02:00
..
arch arm: Import armv7_dcache_wbinv_all function from NetBSD 2014-09-29 17:26:22 +02:00
console arm: Remove CAR_MIGRATE Kconfig and associated cruft 2014-09-15 17:38:28 +02:00
cpu x86/mtrr: Enable MTRR's before enabling caching 2014-09-25 23:24:03 +02:00
device pnp: Allow setting of misc register 0xf4 in device tree 2014-09-17 17:34:16 +02:00
drivers spi: add Kconfig variable for dual-output read enable 2014-09-17 19:56:16 +02:00
ec chrome ec: Add support for limiting charger current 2014-09-19 21:38:34 +02:00
include Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
lib rmodule: Fix rmodule.ld for 64-bit 2014-09-23 22:27:10 +02:00
mainboard Peppy/Falco: always use native graphics 2014-09-25 22:23:21 +02:00
northbridge peppy and falco: set panel power timings in northbridge, using devicetree, not mainboards 2014-09-25 18:33:28 +02:00
soc soc/qualcomm: Add generic support skeleton for ipq806x 2014-09-25 19:05:46 +02:00
southbridge haswell: Move to per-device ACPI 2014-09-22 20:06:13 +02:00
superio pnp: Allow setting of misc register 0xf4 in device tree 2014-09-17 17:34:16 +02:00
vendorcode tpm: Clean up I2C TPM driver 2014-09-10 19:37:49 +02:00
Kconfig coreboot arm64: Add support for arm64 into coreboot framework 2014-09-23 18:10:32 +02:00