summaryrefslogtreecommitdiff
path: root/board/LaCie/netspace_v2/netspace_v2.c
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2012-09-06 10:51:42 +0000
committerPrafulla Wadaskar <prafulla@marvell.com>2012-10-03 16:43:12 +0530
commit37235496950360eb695214683f02f5975b010bd1 (patch)
tree62c9fc7aa0c0d52d304c21575d9d8fcc5fd46e0f /board/LaCie/netspace_v2/netspace_v2.c
parent8e6224364e85950cc308f6ab19eacf957abd94de (diff)
ARM: add support for Network Space v2 Lite and Mini
This patch adds support for the LaCie boards Network Space v2 (Lite and Mini). This two boards are derived from the Network Space v2 and a lot of hardware caracteristics are shared. - CPU: Marvell 88F6192 800Mhz - SDRAM memory: 128MB DDR2 200Mhz - 1 SATA port: internal - Gigabit ethernet: PHY Marvell 88E1318 - Flash memory: SPI NOR 512KB (Macronix MX25L4005A) - i2c EEPROM: 512 bytes (24C04 type) - 2 USB2 ports (Lite only): host and host/device - 1 push button - 1 SATA LED (bi-color, blue and red) Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'board/LaCie/netspace_v2/netspace_v2.c')
-rw-r--r--board/LaCie/netspace_v2/netspace_v2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c
index 68e8a770c7..101a80a70a 100644
--- a/board/LaCie/netspace_v2/netspace_v2.c
+++ b/board/LaCie/netspace_v2/netspace_v2.c
@@ -107,7 +107,11 @@ int misc_init_r(void)
/* Configure and initialize PHY */
void reset_phy(void)
{
+#if defined(CONFIG_NETSPACE_LITE_V2) || defined(CONFIG_NETSPACE_MINI_V2)
+ mv_phy_88e1318_init("egiga0", 0);
+#else
mv_phy_88e1116_init("egiga0", 8);
+#endif
}
#endif