From patchwork Thu Nov 26 10:34:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 63132 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 nAQAYZMO008845 for ; Thu, 26 Nov 2009 10:34:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760224AbZKZKe2 (ORCPT ); Thu, 26 Nov 2009 05:34:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760261AbZKZKe2 (ORCPT ); Thu, 26 Nov 2009 05:34:28 -0500 Received: from mail.renesas.com ([202.234.163.13]:40969 "EHLO mail01.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760224AbZKZKe1 (ORCPT ); Thu, 26 Nov 2009 05:34:27 -0500 X-AuditID: ac140384-00000008000004f6-99-4b0e59b60c74 Received: from guardian02.idc.renesas.com ([172.20.8.201]) by mail01.idc.renesas.com (sendmail) with ESMTP id nAQAYUgT027202; Thu, 26 Nov 2009 19:34:30 +0900 (JST) Received: (from root@localhost) by guardian02.idc.renesas.com with id nAQAYUSt012690; Thu, 26 Nov 2009 19:34:30 +0900 (JST) Received: from mta02.idc.renesas.com (localhost [127.0.0.1]) by mta02.idc.renesas.com with ESMTP id nAQAYVg6008311; Thu, 26 Nov 2009 19:34:31 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KTP00I2CPDIJ8@ims05.idc.renesas.com>; Thu, 26 Nov 2009 19:34:30 +0900 (JST) Date: Thu, 26 Nov 2009 19:34:30 +0900 From: Kuninori Morimoto Subject: [PATCH 1/2] sh: mach-ecovec24: 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-ecovec24/mach/romimage.h b/arch/sh/include/mach-ecovec24/mach/romimage.h index 1c8787e..115495d 100644 --- a/arch/sh/include/mach-ecovec24/mach/romimage.h +++ b/arch/sh/include/mach-ecovec24/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 : +2 : .long 0x20000000 /* 0xA0000000 - 0x80000000 */ +3 :