diff options
author | Simon Glass <sjg@chromium.org> | 2011-06-07 11:12:37 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:16 -0700 |
commit | 09aaff19dc440ce967e125392cb7014279db830b (patch) | |
tree | 1f837497969820492f47b64abf8dc15db5080d0b /include/common.h | |
parent | ad828a69c4ea6d882fd1a822e4a6c25e2d3f075d (diff) |
Add control over cachability of memory regions
This is needed for LCD support, where we want to make the LCD frame buffer
write-through (or off) rather than write-back.
BUG=chromium-os:14082
TEST=build U-Boot
Change-Id: I7e1bf9358b8c2fb7ae524cc74cdcfa5b0fb60fbe
Reviewed-on: http://gerrit.chromium.org/gerrit/2239
Reviewed-by: Anton Staaf <robotboy@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 43b38928717..1b73bd12aed 100644 --- a/include/common.h +++ b/include/common.h @@ -626,6 +626,14 @@ void invalidate_dcache_range(unsigned long start, unsigned long stop); void invalidate_dcache_all(void); void invalidate_icache_all(void); +/** + * Register an update to the page tables, and flush the TLB + * + * \param start start address of update in page table + * \param stop stop address of update in page table + */ +void mmu_page_table_flush(unsigned long start, unsigned long stop); + /* arch/$(ARCH)/lib/ticks.S */ unsigned long long get_ticks(void); void wait_ticks (unsigned long); |