From ad16617f74326ee860243ba0aca6b7a01dd25a1f Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 Oct 2012 13:24:56 +0000 Subject: 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 Signed-off-by: Tom Warren --- include/configs/tegra20-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/tegra20-common.h') diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h index 15bd9bb146..72b661a895 100644 --- a/include/configs/tegra20-common.h +++ b/include/configs/tegra20-common.h @@ -38,6 +38,9 @@ #include /* get chip and board defs */ +/* Align LCD to 1MB boundary */ +#define CONFIG_LCD_ALIGNMENT MMU_SECTION_SIZE + /* * Display CPU and Board information */ -- cgit