coreboot-kgpe-d16/src/arch/armv7
Gabe Black 800790d4e1 ARM: Fix up page table/cachability management.
When modifying the page tables, use writel to ensure the writes happen, flush
the page tables themselves to ensure they're visible to the MMU if it doesn't
look at the caches, and invalidate the right TLB entries.

The first two changes are probably safer but may not be strictly necessary.
The third change is necessary because we were invalidating the TLB using i
which was in megabytes but using an instruction that expects an address in
bytes.

One symptom of this problem was that the framebuffer, which was supposed to be
marked uncacheable, was only being partially updated since some of the updates
were still in the cache. With this change the graphics show up correctly.

Change-Id: I5475df29690371459b0d37a304eebc62f81dd76b
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3653
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-07-10 21:06:34 +02:00
..
boot Unify coreboot table generation 2013-03-22 00:17:55 +01:00
include arch: Fix spelling 2013-07-10 20:16:25 +02:00
lib ARM: Fix up page table/cachability management. 2013-07-10 21:06:34 +02:00
bootblock.inc armv7/exynos5250: Deprecate sdelay in favor of udelay 2013-04-17 23:06:40 +02:00
bootblock.lds GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
bootblock_simple.c ARMv7: Clean up console code 2013-07-10 20:09:42 +02:00
coreboot_ram.ld boot state: schedule static callbacks 2013-05-01 07:06:12 +02:00
exception.c ARMV7 and Google/Snow: Add exception support code to the ramstage 2013-03-08 22:03:37 +01:00
exception_asm.S ARMV7 and Google/Snow: Add exception support code to the ramstage 2013-03-08 22:03:37 +01:00
Kconfig armv7: Clean up: remove deprecated SPL. 2013-02-06 22:09:01 +01:00
Makefile.inc Rename hardwaremain() to main() 2013-07-10 02:40:30 +02:00
romstage.ld ARM: Fix the ldscripts so that exit/enter stage work correctly. 2013-03-20 05:56:22 +01:00
stages.c ARMv7: De-uboot-ify Exynos5250 code 2013-07-10 20:08:15 +02:00