From patchwork Fri Aug 28 05:56:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ye janboe X-Patchwork-Id: 44384 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 n7S5v0Ca029056 for ; Fri, 28 Aug 2009 05:57:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751079AbZH1F44 (ORCPT ); Fri, 28 Aug 2009 01:56:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751456AbZH1F44 (ORCPT ); Fri, 28 Aug 2009 01:56:56 -0400 Received: from mail-pz0-f178.google.com ([209.85.222.178]:34529 "EHLO mail-pz0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbZH1F4z (ORCPT ); Fri, 28 Aug 2009 01:56:55 -0400 Received: by pzk8 with SMTP id 8so1743639pzk.22 for ; Thu, 27 Aug 2009 22:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=bZ1pJNhQiXYlFKtWoAnS2A1awHOzimJoTmI88PrBDIg=; b=V96F+T1WKO0+YVOjvNDgRzAKPQ/B1aHG09jJLkqBzci3gGhwUyKR1RQanAQlca4Rzc Z5MpWalWe29PGTCt//a68Nee+vvMQw8f386NiS6wHNVzABO4TYGmBKy/7ZUa9LFGB4Ay BAuzQ4dSRDiD0+ZvdUs+lfjVL1DmSeokpGpqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=hRjiBEzGNaerjWTowO+kFQqJEeCwUkaWZpbzGe1Zvky1+DDlXGPhHXe66ff9ZwgPg0 RQk1NU7+GiUmiqssX1Kk6D8do2h8bNUuIme6wfgxsnFxZ5p/Lth70i+LZYlFcD71dXqV jbqP47E/i+XMwSf6Fv/rWYM6j491bzbcYqKW8= MIME-Version: 1.0 Received: by 10.142.1.24 with SMTP id 24mr40461wfa.73.1251439017880; Thu, 27 Aug 2009 22:56:57 -0700 (PDT) Date: Fri, 28 Aug 2009 13:56:57 +0800 Message-ID: Subject: [PATCH] flush the function in sdram is not correct because sram is changed. From: ye janboe To: tony@atomide.com, khilman@deeprootsystems.com, paul@pwsan.com Cc: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From f10090bf307066f1317d7152c6f9a6f395007d4a Mon Sep 17 00:00:00 2001 From: janboe Date: Fri, 28 Aug 2009 13:50:57 +0800 Subject: [PATCH] flush the function in sdram is not correct because sram is changed. Signed-off-by: janboe --- arch/arm/plat-omap/sram.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) } diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index f2b0fa6..253fcf7 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -270,7 +270,7 @@ void * omap_sram_push(void * start, unsigned long size) omap_sram_ceil -= size; omap_sram_ceil = ROUND_DOWN(omap_sram_ceil, sizeof(void *)); memcpy((void *)omap_sram_ceil, start, size); - flush_icache_range((unsigned long)start, (unsigned long)(start + size)); + flush_icache_range((unsigned long)omap_sram_ceil, (unsigned long)(omap_sram_ceil + size)); return (void *)omap_sram_ceil;