Skip to content

Commit e41f1e8

Browse files
Lukasz Majewskisverdlin
authored andcommitted
ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code
This patch extends readability of ts72xx.c code. Signed-off-by: Lukasz Majewski <lukma@denx.de> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
1 parent d6d7674 commit e41f1e8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎arch/arm/mach-ep93xx/ts72xx.c‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
#include "soc.h"
3232
#include "ts72xx.h"
3333

34+
/*************************************************************************
35+
* IO map
36+
*************************************************************************/
3437
static struct map_desc ts72xx_io_desc[] __initdata = {
3538
{
3639
.virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE,
@@ -201,10 +204,16 @@ static struct platform_device ts72xx_wdt_device = {
201204
.num_resources = ARRAY_SIZE(ts72xx_wdt_resources),
202205
};
203206

207+
/*************************************************************************
208+
* ETH
209+
*************************************************************************/
204210
static struct ep93xx_eth_data __initdata ts72xx_eth_data = {
205211
.phy_id = 1,
206212
};
207213

214+
/*************************************************************************
215+
* TS72XX support code
216+
*************************************************************************/
208217
#if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX)
209218

210219
/* Relative to EP93XX_CS1_PHYS_BASE */

0 commit comments

Comments
 (0)