From patchwork Tue Sep 29 11:02:02 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 50535 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 n8TB299B029156 for ; Tue, 29 Sep 2009 11:02:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750698AbZI2LCE (ORCPT ); Tue, 29 Sep 2009 07:02:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750699AbZI2LCE (ORCPT ); Tue, 29 Sep 2009 07:02:04 -0400 Received: from mail.renesas.com ([202.234.163.13]:55714 "EHLO mail01.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750698AbZI2LCD (ORCPT ); Tue, 29 Sep 2009 07:02:03 -0400 X-AuditID: ac140384-00000008000004f6-1c-4ac1e92c08d6 Received: from guardian01.idc.renesas.com ([172.20.8.200]) by mail01.idc.renesas.com (sendmail) with ESMTP id n8TB24dh025183; Tue, 29 Sep 2009 20:02:04 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id n8TB25S0023201; Tue, 29 Sep 2009 20:02:05 +0900 (JST) Received: from mta04.idc.renesas.com (localhost [127.0.0.1]) by mta04.idc.renesas.com with ESMTP id n8TB25WE014652; Tue, 29 Sep 2009 20:02:05 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KQQ00537BZFN5@ims05.idc.renesas.com>; Tue, 29 Sep 2009 20:02:04 +0900 (JST) Date: Tue, 29 Sep 2009 20:02:02 +0900 From: Kuninori Morimoto Subject: [PATCH] sh: mach-ecovec24: modify MTD mask_flags typo To: Paul Mundt Cc: SH-Linux , RSO goda 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.1 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org This patch modify bug which can erase boot loader image area. Tested-by: Yusuke Goda Signed-off-by: Kuninori Morimoto --- arch/sh/boards/mach-ecovec24/setup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 5f9881e..ae2cc0d 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -70,7 +70,7 @@ static struct mtd_partition nor_flash_partitions[] = { .name = "boot loader", .offset = 0, .size = (5 * 1024 * 1024), - .mask_flags = MTD_CAP_ROM, + .mask_flags = MTD_CAP_RAM, }, { .name = "free-area", .offset = MTDPART_OFS_APPEND,