From patchwork Wed Jul 1 04:55:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 33406 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 n614xH6U006222 for ; Wed, 1 Jul 2009 04:59:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750869AbZGAE7M (ORCPT ); Wed, 1 Jul 2009 00:59:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754265AbZGAE7M (ORCPT ); Wed, 1 Jul 2009 00:59:12 -0400 Received: from rv-out-0506.google.com ([209.85.198.237]:5268 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbZGAE7M (ORCPT ); Wed, 1 Jul 2009 00:59:12 -0400 Received: by rv-out-0506.google.com with SMTP id k40so1476792rvb.5 for ; Tue, 30 Jun 2009 21:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=htepVyw9zsLIIje7Kf8V4XAEbEWQSe5nRqTBnjgx5io=; b=DL1SOUk9jpmOkzUTNJKUCZ+hWRTVECdqG+6x0ucXDfoEX9RgKMegI7W06oGK3BiY5y SKbKGb5I7Q0UtzzWrFD9yQaBPO3hYbAF87i0rxS98Q+tCZO8OhDWfaJwxnFooNJZIPLp IIPziA3QzTuDgkQl9bQQonQUmUtKV2ecKFEzk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=O725pT1N4IdH6Tnox3lag3ECAGqre8o3693yHHd27sa4gwqwmvvNHA42CCsbpAAowa 14rJArjKqvxSJyrSy2WNCxZrWM63yMZjplhL2WJy0Okfx1fNxQVf0ltP3wTOWOmxO2wO m9qvwxWXZZVP1pKcfzmjOEwtYHP6Xx0GUHq0I= Received: by 10.140.133.4 with SMTP id g4mr3310019rvd.28.1246424355584; Tue, 30 Jun 2009 21:59:15 -0700 (PDT) Received: from rx1.opensource.se (210.5.32.202.bf.2iij.net [202.32.5.210]) by mx.google.com with ESMTPS id k2sm3102266rvb.22.2009.06.30.21.59.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Jun 2009 21:59:14 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Wed, 01 Jul 2009 13:55:35 +0900 Message-Id: <20090701045535.2032.33784.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: fix se7724 ceu names Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Use "ceu0" and "ceu1" as CEU names instead of "ceu". This fixes "memchunk" kernel command line selection on the solution engine 7724 board. With this patch applied use "memchunk.ceu0=1m" or "memchunk.ceu1=1m" on kernel command line to override physically memory size to one meg for CEU0 or CEU1. Signed-off-by: Magnus Damm --- Suitable for 2.6.31. arch/sh/boards/mach-se/7724/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/boards/mach-se/7724/setup.c +++ work/arch/sh/boards/mach-se/7724/setup.c 2009-07-01 12:50:36.000000000 +0900 @@ -374,7 +374,7 @@ static int __init devices_setup(void) gpio_request(GPIO_FN_VIO0_CLK, NULL); gpio_request(GPIO_FN_VIO0_FLD, NULL); gpio_request(GPIO_FN_VIO0_HD, NULL); - platform_resource_setup_memory(&ceu0_device, "ceu", 4 << 20); + platform_resource_setup_memory(&ceu0_device, "ceu0", 4 << 20); /* enable CEU1 */ gpio_request(GPIO_FN_VIO1_D7, NULL); @@ -389,7 +389,7 @@ static int __init devices_setup(void) gpio_request(GPIO_FN_VIO1_HD, NULL); gpio_request(GPIO_FN_VIO1_VD, NULL); gpio_request(GPIO_FN_VIO1_CLK, NULL); - platform_resource_setup_memory(&ceu1_device, "ceu", 4 << 20); + platform_resource_setup_memory(&ceu1_device, "ceu1", 4 << 20); /* KEYSC */ gpio_request(GPIO_FN_KEYOUT5_IN5, NULL);