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: 15548 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A7F9023E66 for ; Fri, 22 Mar 2013 15:28:01 +0000 (UTC) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) by fiordland.canonical.com (Postfix) with ESMTP id 3ED2BA182A8 for ; Fri, 22 Mar 2013 15:28:01 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id fo12so7567181lab.14 for ; Fri, 22 Mar 2013 08:28:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=7iPrhIvD4OKeGBrPR4b+FlF1jOZO3J76q3RwXeFgUag=; b=d7Og3TMXALs9vjI+lloYXN0j3z6xFcszldRiQQq+RcS0UODdy3qH+Yxfd9Pw5gSILQ TboHhwpFM50IpiyWUEYW22MmuSoY1UvNnYOZPyx7WL7uY2mRdz43un3nK1VUU9gGgiSl E2Xc69rJ7b1qanrfVd4uP215N6mbC8UH9n73ssnSn09swy0R2+ifQezNvSh3S7SuA8iw jkMthLiA5RCh7c8mwNEUuwPiQJOgsUjKDwNUGz6t9EDVHJABytfOB7bKQP17RgFGlTEG or4ka/V8B+AlBHAGjRYnY2BP+3e8A7cEYNsg0tLQpUmTEGNO5GEQT9UDHLlqdBGK906k FYag== X-Received: by 10.112.5.6 with SMTP id o6mr1344926lbo.57.1363966080669; Fri, 22 Mar 2013 08:28:00 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.112.91.146 with SMTP id ce18csp114141lbb; Fri, 22 Mar 2013 08:27:59 -0700 (PDT) X-Received: by 10.194.110.69 with SMTP id hy5mr3991166wjb.1.1363966079211; Fri, 22 Mar 2013 08:27:59 -0700 (PDT) Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]) by mx.google.com with ESMTPS id wp4si1112523wjc.134.2013.03.22.08.27.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Mar 2013 08:27:59 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22b is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::22b; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c03::22b is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-we0-f171.google.com with SMTP id d46so1500271wer.30 for ; Fri, 22 Mar 2013 08:27:58 -0700 (PDT) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones 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: ALoCoQlqDSR/E300MrovSipeY6q7VOyZ2KIKZzACuAX6xXH3FnFaePMXYVaQhWCy7/fOkdZPV3+3 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