Pārlūkot izejas kodu

tegra: Align LCD frame buffer to section boundary

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>
Simon Glass 12 gadi atpakaļ
vecāks
revīzija
ad16617f74
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      include/configs/tegra20-common.h

+ 3 - 0
include/configs/tegra20-common.h

@@ -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
  */