Commit e41f1e85 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Alexander Sverdlin

ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code

This patch extends readability of ts72xx.c code.
Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
Acked-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarAlexander Sverdlin <alexander.sverdlin@gmail.com>
parent d6d76745
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
#include "soc.h" #include "soc.h"
#include "ts72xx.h" #include "ts72xx.h"
/*************************************************************************
* IO map
*************************************************************************/
static struct map_desc ts72xx_io_desc[] __initdata = { static struct map_desc ts72xx_io_desc[] __initdata = {
{ {
.virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE, .virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE,
...@@ -201,10 +204,16 @@ static struct platform_device ts72xx_wdt_device = { ...@@ -201,10 +204,16 @@ static struct platform_device ts72xx_wdt_device = {
.num_resources = ARRAY_SIZE(ts72xx_wdt_resources), .num_resources = ARRAY_SIZE(ts72xx_wdt_resources),
}; };
/*************************************************************************
* ETH
*************************************************************************/
static struct ep93xx_eth_data __initdata ts72xx_eth_data = { static struct ep93xx_eth_data __initdata ts72xx_eth_data = {
.phy_id = 1, .phy_id = 1,
}; };
/*************************************************************************
* TS72XX support code
*************************************************************************/
#if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX) #if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX)
/* Relative to EP93XX_CS1_PHYS_BASE */ /* Relative to EP93XX_CS1_PHYS_BASE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment