浏览代码

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 年之前
父节点
当前提交
ad16617f74
共有 1 个文件被更改,包括 3 次插入0 次删除
  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
  */