tegra: Align LCD frame buffer to section boundary
authorSimon Glass <sjg@chromium.org>
Wed, 17 Oct 2012 13:24:56 +0000 (13:24 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 19 Nov 2012 15:15:39 +0000 (08:15 -0700)
For tegra we want to enable the cache for the LCD. This is easier if
we can avoid using L2 page tages, so align the LCD to a section
boundary.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra20-common.h

index 15bd9bb1460dfe1d6b91fc9fe7d376096cef4cea..72b661a895e90e6e3367aa170470fb0ce50b72ff 100644 (file)
@@ -38,6 +38,9 @@
 
 #include <asm/arch/tegra.h>            /* get chip and board defs */
 
+/* Align LCD to 1MB boundary */
+#define CONFIG_LCD_ALIGNMENT   MMU_SECTION_SIZE
+
 /*
  * Display CPU and Board information
  */