From patchwork Tue Oct 6 20:07:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 7339781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 65C9DBEEA4 for ; Tue, 6 Oct 2015 20:10:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D0AB2074E for ; Tue, 6 Oct 2015 20:10:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D081D20747 for ; Tue, 6 Oct 2015 20:10:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZjYXG-00059Y-5h; Tue, 06 Oct 2015 20:08:30 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZjYX9-000547-09 for linux-arm-kernel@lists.infradead.org; Tue, 06 Oct 2015 20:08:23 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZjYWe-00013g-UG; Tue, 06 Oct 2015 22:07:52 +0200 Received: from ukl by dude.hi.pengutronix.de with local (Exim 4.86) (envelope-from ) id 1ZjYWe-0005kB-3R; Tue, 06 Oct 2015 22:07:52 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Roger Quadros , Tony Lindgren Subject: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility Date: Tue, 6 Oct 2015 22:07:50 +0200 Message-Id: <1444162070-22034-2-git-send-email-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.6.0 In-Reply-To: <1444162070-22034-1-git-send-email-u.kleine-koenig@pengutronix.de> References: <1444162070-22034-1-git-send-email-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151006_130823_293669_A0639219 X-CRM114-Status: GOOD ( 12.76 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Most register values for the chip select setup depend on the frequency of the fck clock. So add a hint that the values setup by the bootloader might differ from the right setup for Linux if the bootloader uses a different frequency. Signed-off-by: Uwe Kleine-König --- drivers/memory/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index c6a644b22af4..1414dd53be57 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -64,6 +64,9 @@ config OMAP_GPMC_DEBUG Enables verbose debugging mostly to decode the bootloader provided timings. Enable this during development to configure devices connected to the GPMC bus. + Note that you cannot just tweak your device tree until the registers + setup by linux match what the bootloader did because that one might + use a different fck frequency influencing most register settings. config MVEBU_DEVBUS bool "Marvell EBU Device Bus Controller"