From: Lukasz Majewski Date: Mon, 11 Dec 2017 23:36:24 +0000 (+0100) Subject: ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e41f1e85550cfaee59dde53178e94d9d917edacb;p=openwrt%2Fstaging%2Fblogic.git ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code This patch extends readability of ts72xx.c code. Signed-off-by: Lukasz Majewski Acked-by: H Hartley Sweeten Acked-by: Linus Walleij Signed-off-by: Alexander Sverdlin --- diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c index 141ae4c65a81..17af9d834b51 100644 --- a/arch/arm/mach-ep93xx/ts72xx.c +++ b/arch/arm/mach-ep93xx/ts72xx.c @@ -31,6 +31,9 @@ #include "soc.h" #include "ts72xx.h" +/************************************************************************* + * IO map + *************************************************************************/ static struct map_desc ts72xx_io_desc[] __initdata = { { .virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE, @@ -201,10 +204,16 @@ static struct platform_device ts72xx_wdt_device = { .num_resources = ARRAY_SIZE(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 */