Received: by 10.223.164.202 with SMTP id h10csp48990wrb; Wed, 29 Nov 2017 16:47:43 -0800 (PST) X-Google-Smtp-Source: AGs4zMYzDOBrjoTQ6oW9WjU46jbj/bHe18WxMlMVi8npd7W1rr0HMaUAL5H4v/MZjEzRmJANEy/E X-Received: by 10.99.127.14 with SMTP id a14mr698967pgd.315.1512002863557; Wed, 29 Nov 2017 16:47:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512002863; cv=none; d=google.com; s=arc-20160816; b=Ow0OKlg4cFsALMylNeiT23oLWGPOYhfxmD0NSFkdp6QptQHt9FMI5m9f/8wmNqo93u pO5ZweqrYCH6TkGcLxbGH+lyQe7wR111dfkyMitJ5Fad4TiMA/0sL/AWZ5d7oOYMk285 F6dbqKj5ZI3bzTzZasEWr3AbBGuL2A6r8GGxxVxFeot9N4mmD5fUwvoSdcJ2KwbgEbEW JDxsdd/Ac4pTspEAeEx6KROT2g/UMgz2qRJG0jK5K1r0m/jqzK6NxF9DHZl7d2K/g1+K Pw2J87mBB5JRsDn6cE1vNM+VR0PEXZUlTrooeAfNiKMyZ9UyZJc6J6JTW8bPPFnyN78/ 2skg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=XX4DZb2X+cwwA3qDdI4hR4jLxXJKnLiHo6FrQTEuhHI=; b=tDE1SnjqAJ0ZFBw0VmDrH8fr0nQgNAH7gRKNv9CeoYIKExcIYkqJovXBbPrwx3AQG2 DssQiIyFyDg2LapZoXPSLzbM0KeAbDfLorEu1yLQYhwED8hV0UxboSlpHPQ/O1PpPyIZ GL0jXt4CQYgOCZhmaJMemsePm8wevlis1Frf2Gl9QWOPwEbD4O7XWI5UFEUIc7bZadMA VfIrYZVFkQUzIj3VECcfkQVgsq48Z00hRWwDiX7M9Y8H0h1hS1pk7VfrQX8w4UXsQfmB N/vVzmxPLekkaAuCB6xyRPVln0w4LCnx2Ac9GSFKQxW8Cm7QH9hfcqTV7/sZDV+Vy3YC BAqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61si2122867plb.736.2017.11.29.16.47.30; Wed, 29 Nov 2017 16:47:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753874AbdK3AqM (ORCPT + 99 others); Wed, 29 Nov 2017 19:46:12 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:57075 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753689AbdK3Aph (ORCPT ); Wed, 29 Nov 2017 19:45:37 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ynJbh3gpzz1qs0S; Thu, 30 Nov 2017 01:45:36 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3ynJbh3T3fz1qqkr; Thu, 30 Nov 2017 01:45:36 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7eiuNHS-pJCn; Thu, 30 Nov 2017 01:45:35 +0100 (CET) X-Auth-Info: pNCEWCl5mCoD9hivu/ItTbLEp7eeCW11KC/0WXlQ0K0= Received: from localhost.localdomain (89-64-27-66.dynamic.chello.pl [89.64.27.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 30 Nov 2017 01:45:35 +0100 (CET) From: Lukasz Majewski To: Alexander Sverdlin , Arnd Bergmann , arndbergmann@gmail.com, Hartley Sweeten Cc: Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Olof Johansson , Linus Walleij , Lukasz Majewski Subject: [PATCH v3 5/6] ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code Date: Thu, 30 Nov 2017 01:45:09 +0100 Message-Id: <20171130004510.23887-6-lukma@denx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171130004510.23887-1-lukma@denx.de> References: <20171116232239.16823-1-lukma@denx.de> <20171130004510.23887-1-lukma@denx.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch extends readability of ts72xx.c code. Signed-off-by: Lukasz Majewski --- Changes for v2: - New patch --- arch/arm/mach-ep93xx/ts72xx.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c index a6e473b3dcf6..2e8fcc6e87b6 100644 --- a/arch/arm/mach-ep93xx/ts72xx.c +++ b/arch/arm/mach-ep93xx/ts72xx.c @@ -28,6 +28,9 @@ #include "soc.h" #include "ts72xx.h" +/************************************************************************* + * IO map + *************************************************************************/ static struct map_desc ts72xx_io_desc[] __initdata = { { .virtual = (unsigned long)TS72XX_OPTIONS_VIRT_BASE, @@ -189,6 +192,9 @@ static struct platform_device ts72xx_rtc_device = { .num_resources = ARRAY_SIZE(ts72xx_rtc_resources), }; +/************************************************************************* + * WATCHDOG + *************************************************************************/ static struct resource ts72xx_wdt_resources[] = { DEFINE_RES_MEM(TS72XX_WDT_CONTROL_PHYS_BASE, SZ_4K), DEFINE_RES_MEM(TS72XX_WDT_FEED_PHYS_BASE, SZ_4K), @@ -201,10 +207,16 @@ static struct platform_device ts72xx_wdt_device = { .resource = ts72xx_wdt_resources, }; +/************************************************************************* + * ETH + *************************************************************************/ static struct ep93xx_eth_data __initdata ts72xx_eth_data = { .phy_id = 1, }; +/************************************************************************* + * TS72XX support code + *************************************************************************/ #if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX) /* Relative to EP93XX_CS1_PHYS_BASE */ -- 2.11.0 From 1584686531931837914@xxx Tue Nov 21 14:34:05 +0000 2017 X-GM-THRID: 1584686531931837914 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread