From patchwork Wed Sep 18 15:53:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Pihet X-Patchwork-Id: 20440 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f199.google.com (mail-ye0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9953D246E9 for ; Wed, 18 Sep 2013 15:53:59 +0000 (UTC) Received: by mail-ye0-f199.google.com with SMTP id l4sf7012131yen.6 for ; Wed, 18 Sep 2013 08:53:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=hr43+hoRl/dM8ZrM8GudMw0u0aklafuao0UZ9RElsG0=; b=E0B9UlG3s1dwewj+aYPDoHjVLTqWLF9HICU2MmaqjQ8X/WqxroY79hYjGnv/R9rDdB ffVsUF51Mb3ImonEfdv56yEFHf2ui6kCM62uUo9YfJCA1QwNa/H1joH5i2t/itWvuIWY Wy0PF6jytvm0kEqOldX52h3HZCJAVio78fESOj5rGsLhaAIS9ssTD4CpKeHD/hKMGC1u flW3HdnAl1QiVpzZmEPFc/bDv7Bd3vp5HV6gMhvEiBCpBBAzbhgs7H/5zkInDcHK9aIX 4V9XEJf9xMG6ZBcq3X+P16fm7QJGsZUb8QHcJnVrJh76g/JTrkCn9wDvBZrgZ657jBB0 1zZQ== X-Gm-Message-State: ALoCoQnPlMBWZZcvdRdnPs7+Kz8lSu3OLP5fH3/8yHmsaHZzhVSqZulxsioZUS9JQ3U14wB9+akz X-Received: by 10.236.142.38 with SMTP id h26mr416174yhj.57.1379519639054; Wed, 18 Sep 2013 08:53:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.144 with SMTP id u16ls3543800qef.84.gmail; Wed, 18 Sep 2013 08:53:58 -0700 (PDT) X-Received: by 10.220.145.75 with SMTP id c11mr907952vcv.30.1379519638967; Wed, 18 Sep 2013 08:53:58 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id om2si677968vec.75.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 08:53:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id oy12so5885228veb.27 for ; Wed, 18 Sep 2013 08:53:58 -0700 (PDT) X-Received: by 10.221.27.73 with SMTP id rp9mr953977vcb.29.1379519638800; Wed, 18 Sep 2013 08:53:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp226032vcz; Wed, 18 Sep 2013 08:53:58 -0700 (PDT) X-Received: by 10.14.0.8 with SMTP id 8mr3870409eea.62.1379519637820; Wed, 18 Sep 2013 08:53:57 -0700 (PDT) Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by mx.google.com with ESMTPS id x45si2512950eey.66.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 08:53:57 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.49 is neither permitted nor denied by best guess record for domain of jean.pihet@linaro.org) client-ip=74.125.83.49; Received: by mail-ee0-f49.google.com with SMTP id d41so3485558eek.8 for ; Wed, 18 Sep 2013 08:53:57 -0700 (PDT) X-Received: by 10.14.199.3 with SMTP id w3mr60706592een.33.1379519637060; Wed, 18 Sep 2013 08:53:57 -0700 (PDT) Received: from localhost.localdomain (71.63-241-81.adsl-dyn.isp.belgacom.be. [81.241.63.71]) by mx.google.com with ESMTPSA id r48sm3762722eev.14.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Sep 2013 08:53:56 -0700 (PDT) From: Jean Pihet To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jason Cooper , Ezequiel Garcia Cc: patches@linaro.org, Thomas Petazzoni , Gregory Clement , Andrew Lunn , Jean Pihet Subject: [PATCH] arm: mvebu: use the main timer as clock source from DT Date: Wed, 18 Sep 2013 17:53:44 +0200 Message-Id: <1379519624-4267-1-git-send-email-jean.pihet@linaro.org> X-Mailer: git-send-email 1.7.11.7 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: jean.pihet@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This commit: 573145f08c2b92c45498468afbbba909f6ce6135 clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE replaced a call to the driver's timer initialization by a call to clocksource_of_init(). However, it failed to select CONFIG_CLKSRC_OF. Fix this by selecting CONFIG_CLKSRC_OF for Armada370/XP machines. Without this change the kernel is stuck at: 'Calibrating delay loop...'. Signed-off-by: Jean Pihet Acked-by: Ezequiel Garcia --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 9eb63d7..25e6c00 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -26,6 +26,7 @@ config MACH_ARMADA_370_XP select HAVE_SMP select CACHE_L2X0 select CPU_PJ4B + select CLKSRC_OF config MACH_ARMADA_370 bool "Marvell Armada 370 boards"