diff options
author | Lukasz Majewski <lukma@denx.de> | 2017-12-11 18:36:24 -0500 |
---|---|---|
committer | Alexander Sverdlin <alexander.sverdlin@gmail.com> | 2017-12-13 16:25:34 -0500 |
commit | e41f1e85550cfaee59dde53178e94d9d917edacb (patch) | |
tree | d369ce15d66140cfad3c357065ec864ed8957a9c | |
parent | d6d76745f4d921ba8c58d72259b9383ee5b67b28 (diff) |
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>
-rw-r--r-- | arch/arm/mach-ep93xx/ts72xx.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
31 | #include "soc.h" | 31 | #include "soc.h" |
32 | #include "ts72xx.h" | 32 | #include "ts72xx.h" |
33 | 33 | ||
34 | /************************************************************************* | ||
35 | * IO map | ||
36 | *************************************************************************/ | ||
34 | static struct map_desc ts72xx_io_desc[] __initdata = { | 37 | static struct map_desc ts72xx_io_desc[] __initdata = { |
35 | { | 38 | { |
36 | .virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE, | 39 | .virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE, |
@@ -201,10 +204,16 @@ static struct platform_device ts72xx_wdt_device = { | |||
201 | .num_resources = ARRAY_SIZE(ts72xx_wdt_resources), | 204 | .num_resources = ARRAY_SIZE(ts72xx_wdt_resources), |
202 | }; | 205 | }; |
203 | 206 | ||
207 | /************************************************************************* | ||
208 | * ETH | ||
209 | *************************************************************************/ | ||
204 | static struct ep93xx_eth_data __initdata ts72xx_eth_data = { | 210 | static struct ep93xx_eth_data __initdata ts72xx_eth_data = { |
205 | .phy_id = 1, | 211 | .phy_id = 1, |
206 | }; | 212 | }; |
207 | 213 | ||
214 | /************************************************************************* | ||
215 | * TS72XX support code | ||
216 | *************************************************************************/ | ||
208 | #if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX) | 217 | #if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX) |
209 | 218 | ||
210 | /* Relative to EP93XX_CS1_PHYS_BASE */ | 219 | /* Relative to EP93XX_CS1_PHYS_BASE */ |