| Submitter | Simon Glass |
|---|---|
| Date | Sept. 28, 2012, 12:44 a.m. |
| Message ID | <1348793077-10126-13-git-send-email-sjg@chromium.org> |
| Download | mbox | patch |
| Permalink | /patch/187641/ |
| State | Superseded, archived |
| Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 23B652C00A9 for <incoming@patchwork.ozlabs.org>; Fri, 28 Sep 2012 10:51:14 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D03EC280C1; Fri, 28 Sep 2012 02:51:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03o-Xgai4Ehu; Fri, 28 Sep 2012 02:51:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7C5B22809C; Fri, 28 Sep 2012 02:51:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6AEF2809F for <u-boot@lists.denx.de>; Fri, 28 Sep 2012 02:51:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0TpSwunMjV8k for <u-boot@lists.denx.de>; Fri, 28 Sep 2012 02:51:08 +0200 (CEST) X-Greylist: delayed 357 seconds by postgrey-1.27 at theia; Fri, 28 Sep 2012 02:50:58 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-fa0-f74.google.com (mail-fa0-f74.google.com [209.85.161.74]) by theia.denx.de (Postfix) with ESMTPS id 456462808A for <u-boot@lists.denx.de>; Fri, 28 Sep 2012 02:50:58 +0200 (CEST) Received: by faet1 with SMTP id t1so163922fae.3 for <u-boot@lists.denx.de>; Thu, 27 Sep 2012 17:50:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=EmWjAGKGqznPHtPIPdrQ5AY6cAtvDiGeKHjJJsCop7Q=; b=mIDD8wqUxM1R7TMtK6uq2r9F2ohKYOfN/SNA3M9NiXrULGh7oO6pB22wsxIq0YlYy8 Ve+hX/3/xK+Q44jCE+2MB0pTtDnIMaf9MT9eP3CmY/m/bu7ReFj8j6aCL5fL6d5e6OL/ qN/IqH/AAgiBotBasej4Ulvu3HyaPeOKamxld1yX4LSjZRD+uVrHnUGCmW0FQpyt2XjQ 6BxWTwGOKkVdGHFKzfmRGho23WMUh55qKj6qZl39NwwuI9BGes217neWfGODIcehzpCh wgPAC9/McEiWcjVPDwqYd7Q06BRQhsYyMokW0Aet8l1K1hHtBpMJeYZyP/lqlyJejYcD 0zOw== Received: by 10.180.107.38 with SMTP id gz6mr12159wib.0.1348793101818; Thu, 27 Sep 2012 17:45:01 -0700 (PDT) Received: by 10.180.107.38 with SMTP id gz6mr12147wib.0.1348793101747; Thu, 27 Sep 2012 17:45:01 -0700 (PDT) Received: from hpza9.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id b5si1932422wie.2.2012.09.27.17.45.01 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 27 Sep 2012 17:45:01 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza9.eem.corp.google.com (Postfix) with ESMTP id 5AC625C0063; Thu, 27 Sep 2012 17:45:01 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id BD5AB16112F; Thu, 27 Sep 2012 17:45:00 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Thu, 27 Sep 2012 17:44:33 -0700 Message-Id: <1348793077-10126-13-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1348793077-10126-1-git-send-email-sjg@chromium.org> References: <1348793077-10126-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmQjQAeMaozoJBMNI+j0sRW5+kM9P/IukEhcFWtSKGHsKrdcMtekKEB9b9ecYGF3gyRz2kJcx7W0j3rHQ26Ig5IoQp8a8OFxJassiA8MhMzJYFdU0od+916/r8STAMT3u0s6Ypb659QOwWOMIaSMr9uxeWR1cQ/GtbAk+/7vpHmxn2vK/3IC2mQCwslps6mv+UQIZAz Cc: Stephen Warren <swarren@nvidia.com>, Tom Warren <twarren@nvidia.com> Subject: [U-Boot] [PATCH v4 12/16] tegra: Align LCD frame buffer to section boundary X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de |
Comments
Patch
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h index fa14a1c..a96233a 100644 --- a/include/configs/tegra20-common.h +++ b/include/configs/tegra20-common.h @@ -45,6 +45,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 */
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> --- Changes in v2: - Align tegra display using new CONFIG_LCD_ALIGNMENT feature include/configs/tegra20-common.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)