From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753879AbdK3AqM (ORCPT ); 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 X-Auth-Info: pNCEWCl5mCoD9hivu/ItTbLEp7eeCW11KC/0WXlQ0K0= 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 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