From patchwork Fri Mar 22 15:27:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 2321391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 8B1A3DFE82 for ; Fri, 22 Mar 2013 15:30:53 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UJ3sy-0003II-0I; Fri, 22 Mar 2013 15:28:04 +0000 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UJ3su-0003Hg-PU for linux-arm-kernel@lists.infradead.org; Fri, 22 Mar 2013 15:28:01 +0000 Received: by mail-we0-f175.google.com with SMTP id t11so1268468wey.34 for ; Fri, 22 Mar 2013 08:27:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=7iPrhIvD4OKeGBrPR4b+FlF1jOZO3J76q3RwXeFgUag=; b=GmJH2P9dsF3P3YY3LFJ0vJVNNZUV2aQDTkcesNYiuBlw8KAxEIxG9zrIQbX7eXYY2i LnLXgbIeVcp4jayrtdt5uXeKs6uqHO/mw7cLhcbt17cRUVP5GCUei790Yf/P8a2nc+Ng dS5jRw5NKulzwdk0OLVnDqficfgddXB/OT1gBZUNClS7EnZoc6mmYcShOtNkvLeiQJhu dkknyg1UMi28mdhI8ZDzHk47DGb/sR/2OcmdrwOXqgr/unYVkoPUSjx8rpLetLlslcps etfc97kcMcMZ5T8I6zxX6liX5MGWdgSgBzlbKMzwncHtYwbVvhcgr4dsNskSaSIVkjnG Txlg== X-Received: by 10.180.10.105 with SMTP id h9mr3762866wib.34.1363966077501; Fri, 22 Mar 2013 08:27:57 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id r7sm4249093wiz.2.2013.03.22.08.27.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Mar 2013 08:27:55 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] ARM: ux500: Add machine support for ccu8540 Date: Fri, 22 Mar 2013 15:27:41 +0000 Message-Id: <1363966065-2478-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQl3DChOGuNU2zZtPKAQySJ5kvvKDDzAhPupmIpSCyrPzMgIl7MoAEWB0mpRYJDMYT+AiYQ0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130322_112800_927892_DCF1518C X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Inform the kernel of a new machine type, so when detected it knows which initialisation route to travel though. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 9 +++++++++ arch/arm/tools/mach-types | 1 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index b034578..4fade16 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -740,6 +740,15 @@ MACHINE_START(U8500, "ST-Ericsson MOP500 platform") .init_late = ux500_init_late, MACHINE_END +MACHINE_START(U8540, "ST-Ericsson U8540 Platform ccu8540") + .atag_offset = 0x100, + .map_io = u8500_map_io, + .init_irq = ux500_init_irq, + .init_time = ux500_timer_init, + .init_machine = mop500_init_machine, + .init_late = ux500_init_late, +MACHINE_END + MACHINE_START(U8520, "ST-Ericsson U8520 Platform HREFP520") .atag_offset = 0x100, .map_io = u8500_map_io, diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 831e1fd..1c9d0be 100644 --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types @@ -1204,3 +1204,4 @@ baileys MACH_BAILEYS BAILEYS 4169 familybox MACH_FAMILYBOX FAMILYBOX 4170 ensemble_mx35 MACH_ENSEMBLE_MX35 ENSEMBLE_MX35 4171 sc_sps_1 MACH_SC_SPS_1 SC_SPS_1 4172 +u8540 MACH_U8540 U8540 4211