From patchwork Thu Nov 26 10:34:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 63133 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 nAQAYZMQ008845 for ; Thu, 26 Nov 2009 10:34:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752443AbZKZKeu (ORCPT ); Thu, 26 Nov 2009 05:34:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760261AbZKZKet (ORCPT ); Thu, 26 Nov 2009 05:34:49 -0500 Received: from mail.renesas.com ([202.234.163.13]:61649 "EHLO mail04.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752443AbZKZKet (ORCPT ); Thu, 26 Nov 2009 05:34:49 -0500 X-AuditID: ac140387-00000007000005fd-a1-4b0e59cd464c Received: from guardian01.idc.renesas.com ([172.20.8.200]) by mail04.idc.renesas.com (sendmail) with ESMTP id nAQAYq74007454; Thu, 26 Nov 2009 19:34:52 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id nAQAYr7Z003389; Thu, 26 Nov 2009 19:34:53 +0900 (JST) Received: from mta03.idc.renesas.com (localhost [127.0.0.1]) by mta03.idc.renesas.com with ESMTP id nAQAYqPE028884; Thu, 26 Nov 2009 19:34:52 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KTP00I65PE4J8@ims05.idc.renesas.com>; Thu, 26 Nov 2009 19:34:52 +0900 (JST) Date: Thu, 26 Nov 2009 19:34:52 +0900 From: Kuninori Morimoto Subject: [PATCH 2/2] sh: mach-kfr2r09: modify memory area calculation To: Paul Mundt Cc: Magnus , Linux-SH Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.02-dev (RINDOU) (2009-06-17 Rev.4261) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org diff --git a/arch/sh/include/mach-kfr2r09/mach/romimage.h b/arch/sh/include/mach-kfr2r09/mach/romimage.h index a110823..076cc94 100644 --- a/arch/sh/include/mach-kfr2r09/mach/romimage.h +++ b/arch/sh/include/mach-kfr2r09/mach/romimage.h @@ -11,10 +11,13 @@ icbi @r0 /* jump to cached area */ - mova 2f, r0 + mov.l 2f, r1 + mova 3f, r0 + sub r1, r0 jmp @r0 nop .align 2 -1: .long 0xa8000000 -2: +1 : .long 0xa8000000 +2 : .long 0x20000000 /* 0xA0000000 - 0x80000000 */ +3 :