From patchwork Wed Jun 5 07:34:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2665841 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E33413FD4F for ; Wed, 5 Jun 2013 07:27:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752376Ab3FEH1X (ORCPT ); Wed, 5 Jun 2013 03:27:23 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:54897 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752305Ab3FEH1X (ORCPT ); Wed, 5 Jun 2013 03:27:23 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so1396423pbb.19 for ; Wed, 05 Jun 2013 00:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=gfmCBaXAEeC99LmyUUj0+WmHH1HOPi2we8dLnC5hKKo=; b=XVL+G1l/L+1zyzZdLWnZMKs/ICRw2ZJR7ziaEiFX5PnlPH0IiTOo6bYXOEPKL4DUqC 0xojUvTq6c2bl7MYypp7kt9WuJLt2rzeVkdBgd7lr2pSgVzvKsg1smWQA70+UnejDnoP iz2GAkHHaaQfl85pve7f0lwiWIi4HcrVOQ/7NVn2GLuL7DaPtEWDWW5KPFm0TAxUGQ12 g7Co+OGu0ZdGuYU1JcJj6hvSyH5CdS0D2KCVNNuUpxzCx8wh9ORGx/0SGurjMRRtbvG4 gpwzZ1UlhdSssr1q0qKoJyjIrGn/CGOj8txnKsETeBs9P7+MYv7+fARU+/Ssko94IjCF v7rw== X-Received: by 10.66.252.67 with SMTP id zq3mr11604011pac.186.1370417242840; Wed, 05 Jun 2013 00:27:22 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id 3sm66778159pbj.46.2013.06.05.00.27.21 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 00:27:22 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: arnd@arndb.de, horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, Magnus Damm , linux-arm-kernel@lists.infradead.org Date: Wed, 05 Jun 2013 16:34:50 +0900 Message-Id: <20130605073450.15758.62483.sendpatchset@w520> In-Reply-To: <20130605073410.15758.37563.sendpatchset@w520> References: <20130605073410.15758.37563.sendpatchset@w520> Subject: [PATCH 05/06] ARM: shmobile: Kota2 memory size fixup Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Specify the Kota2 memory configuration via a board specific fixup callback, and also select ATAGS to make sure the callback is executed as expected. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 1 + arch/arm/mach-shmobile/board-kota2.c | 4 ++++ 2 files changed, 5 insertions(+) -- 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 --- 0007/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2013-06-04 15:24:49.000000000 +0900 @@ -114,6 +114,7 @@ config MACH_MACKEREL config MACH_KOTA2 bool "KOTA2 board" depends on ARCH_SH73A0 + select ATAGS select ARCH_REQUIRE_GPIOLIB select REGULATOR_FIXED_VOLTAGE if REGULATOR --- 0001/arch/arm/mach-shmobile/board-kota2.c +++ work/arch/arm/mach-shmobile/board-kota2.c 2013-06-04 15:23:00.000000000 +0900 @@ -51,6 +51,7 @@ #include #include #include +#include #include /* Dummy supplies, where voltage doesn't matter */ @@ -541,7 +542,10 @@ static void __init kota2_init(void) platform_add_devices(kota2_devices, ARRAY_SIZE(kota2_devices)); } +SHMOBILE_FIXUP(kota2, 0x41000000, 0x1e000000) + MACHINE_START(KOTA2, "kota2") + .fixup = kota2_fixup, .smp = smp_ops(sh73a0_smp_ops), .map_io = sh73a0_map_io, .init_early = sh73a0_add_early_devices,