From patchwork Thu Jun 18 00:00:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 31019 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5I00JkR002690 for ; Thu, 18 Jun 2009 00:00:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751423AbZFRAAH (ORCPT ); Wed, 17 Jun 2009 20:00:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752039AbZFRAAH (ORCPT ); Wed, 17 Jun 2009 20:00:07 -0400 Received: from mail-pz0-f192.google.com ([209.85.222.192]:43116 "EHLO mail-pz0-f192.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbZFRAAG (ORCPT ); Wed, 17 Jun 2009 20:00:06 -0400 Received: by pzk30 with SMTP id 30so163194pzk.33 for ; Wed, 17 Jun 2009 17:00:09 -0700 (PDT) Received: by 10.142.97.20 with SMTP id u20mr689559wfb.286.1245283209184; Wed, 17 Jun 2009 17:00:09 -0700 (PDT) Received: from localhost ([216.254.16.51]) by mx.google.com with ESMTPS id 30sm571912wfd.21.2009.06.17.17.00.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Jun 2009 17:00:08 -0700 (PDT) From: Kevin Hilman To: linux-omap@vger.kernel.org Subject: [PATCH 1/2] Revert "OMAP3: SRAM size fix for HS/EMU devices" Date: Wed, 17 Jun 2009 17:00:05 -0700 Message-Id: <1245283206-6568-1-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.3.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This reverts commit bea1418bd09e30961e36f96f97979a3603f1da9b. --- arch/arm/plat-omap/sram.c | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) mode change 100755 => 100644 arch/arm/plat-omap/sram.c diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c old mode 100755 new mode 100644 index f40bd2d..65006df --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -131,15 +131,9 @@ void __init omap_detect_sram(void) if (cpu_class_is_omap2()) { if (is_sram_locked()) { if (cpu_is_omap34xx()) { - if (omap_type() == OMAP2_DEVICE_TYPE_GP) { - omap_sram_base = OMAP3_SRAM_PUB_VA; - omap_sram_start = OMAP3_SRAM_PUB_PA; - omap_sram_size = 0x8000; /* 32K */ - } else { - omap_sram_base = OMAP3_SRAM_PUB_VA; - omap_sram_start = OMAP3_SRAM_PUB_PA; - omap_sram_size = 0x7000; /* 28K */ - } + omap_sram_base = OMAP3_SRAM_PUB_VA; + omap_sram_start = OMAP3_SRAM_PUB_PA; + omap_sram_size = 0x8000; /* 32K */ } else { omap_sram_base = OMAP2_SRAM_PUB_VA; omap_sram_start = OMAP2_SRAM_PUB_PA;