coreboot/src
Gabe Black 412df76d2f 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.

BUG=None
TEST=Built and booted on Snow. Verified that vboot screens were displayed
completely.
BRANCH=None

Change-Id: I9f3c3d3d1547b85d5b2d7035050a5107ead1f236
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/55638
Commit-Queue: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Tested-by: Stefan Reinauer <reinauer@google.com>
2013-05-20 17:01:24 -07:00
..
arch ARM: Fix up page table/cachability management. 2013-05-20 17:01:24 -07:00
console console: Make use of CONFIG_USE_OPTION_TABLE 2013-04-01 20:54:48 +02:00
cpu exynos5250: Simplify the graphics code by eliminating the unused color map. 2013-05-20 17:01:24 -07:00
device device tree: track init times 2013-05-01 15:36:25 -07:00
drivers BACKPORT: pc80/tpm: allow for cache-as-ram migration 2013-05-16 15:06:25 -07:00
ec Fix Google ChromeEC driver 2013-05-01 10:55:09 -07:00
include BACKPORT: x86: add cache-as-ram migration option 2013-05-16 15:06:24 -07:00
lib BACKPORT: cbmem console: use cache-as-ram API and cleanup 2013-05-16 15:06:26 -07:00
mainboard exynos5250: Simplify the graphics code by eliminating the unused color map. 2013-05-20 17:01:24 -07:00
northbridge haswell: Update GT PM register value 2013-05-10 14:05:52 -07:00
southbridge lynxpoint: update azalia device ids 2013-05-20 15:28:33 -07:00
superio Drop prototype guarding for romcc 2013-05-10 11:55:20 -07:00
vendorcode BACKPORT: chromeos: use cache-as-ram migration API for vbnv 2013-05-16 15:06:25 -07:00
Kconfig BACKPORT: x86: add thread support 2013-05-15 11:19:50 -07:00