All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Guinot <simon.guinot@sequanux.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 4/4] ARM: add support for d2 Network v2
Date: Thu,  6 Sep 2012 11:25:27 +0200	[thread overview]
Message-ID: <1346923527-1158-5-git-send-email-simon.guinot@sequanux.org> (raw)
In-Reply-To: <1346923527-1158-1-git-send-email-simon.guinot@sequanux.org>

This patch adds support for the LaCie board d2 Network v2 which share
a lot of hardware caracteristics with the 2Big Network v2.

- CPU: Marvell 88F6281 1200Mhz
- SDRAM memory: 256MB DDR2 400Mhz
- 2 SATA ports: internal and eSATA
- Gigabit ethernet: PHY Marvell 88E1116R
- Flash memory: SPI NOR 512KB (Macronix MX25L4005A)
- i2c EEPROM: 512 bytes (24C04 type)
- 2 USB2 ports: host and host/device
- 1 push button
- 1 power switch
- 1 SATA LED (bi-color, blue and red)

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
---
Changes for v3:
 - Rebased against u-boot-mv/master and u-boot-arm/master.

No changes for v2.

 boards.cfg                 |    1 +
 include/configs/lacie_kw.h |   10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/boards.cfg b/boards.cfg
index e4613a9..2c7d351 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -160,6 +160,7 @@ kmnusa                       arm         arm926ejs   km_arm              keymile
 mgcoge3un                    arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_MGCOGE3UN
 kmcoge5un                    arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_COGE5UN
 portl2                       arm         arm926ejs   km_arm              keymile        kirkwood    km_kirkwood:KM_PORTL2
+d2net_v2                     arm         arm926ejs   net2big_v2          LaCie          kirkwood        lacie_kw:D2NET_V2
 inetspace_v2                 arm         arm926ejs   netspace_v2         LaCie          kirkwood	lacie_kw:INETSPACE_V2
 net2big_v2                   arm         arm926ejs   net2big_v2          LaCie          kirkwood	lacie_kw:NET2BIG_V2
 netspace_lite_v2             arm         arm926ejs   netspace_v2         LaCie          kirkwood	lacie_kw:NETSPACE_LITE_V2
diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h
index b00c352..3c0f838 100644
--- a/include/configs/lacie_kw.h
+++ b/include/configs/lacie_kw.h
@@ -36,6 +36,9 @@
 #elif defined(CONFIG_NETSPACE_MAX_V2)
 #define CONFIG_MACH_TYPE		MACH_TYPE_NETSPACE_MAX_V2
 #define CONFIG_IDENT_STRING		" NS Max v2"
+#elif defined(CONFIG_D2NET_V2)
+#define CONFIG_MACH_TYPE		MACH_TYPE_D2NET_V2
+#define CONFIG_IDENT_STRING		" D2 v2"
 #elif defined(CONFIG_NET2BIG_V2)
 #define CONFIG_MACH_TYPE		MACH_TYPE_NET2BIG_V2
 #define CONFIG_IDENT_STRING		" 2Big v2"
@@ -106,7 +109,9 @@
 #define CONFIG_ENV_SPI_MAX_HZ           20000000 /* 20Mhz */
 #define CONFIG_SYS_IDE_MAXBUS           1
 #define CONFIG_SYS_IDE_MAXDEVICE        1
-#if defined(CONFIG_NET2BIG_V2)
+#if defined(CONFIG_D2NET_V2)
+#define CONFIG_SYS_PROMPT		"d2v2> "
+#elif defined(CONFIG_NET2BIG_V2)
 #define CONFIG_SYS_PROMPT		"2big2> "
 #else
 #define CONFIG_SYS_PROMPT		"ns2> "
@@ -126,7 +131,8 @@
  */
 #ifdef CONFIG_MVSATA_IDE
 #define CONFIG_SYS_ATA_IDE0_OFFSET      MV_SATA_PORT0_OFFSET
-#if defined(CONFIG_NETSPACE_MAX_V2) || defined(CONFIG_NET2BIG_V2)
+#if defined(CONFIG_NETSPACE_MAX_V2) || defined(CONFIG_D2NET_V2) || \
+	defined(CONFIG_NET2BIG_V2)
 #define CONFIG_SYS_ATA_IDE1_OFFSET      MV_SATA_PORT1_OFFSET
 #endif
 #endif /* CONFIG_MVSATA_IDE */
-- 
1.7.10

  parent reply	other threads:[~2012-09-06  9:25 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DCB55AE5D43FB64FA6D3F5573FA2D42B19FD1E0BDE@SC-VEXCH4.marvell.com>
2012-02-08  9:57 ` [U-Boot] Pull request for u-boot-marvell.git Prafulla Wadaskar
2012-02-10 19:58   ` Albert ARIBAUD
2012-03-02  7:29     ` Prafulla Wadaskar
2012-03-05 12:38       ` Albert ARIBAUD
2012-04-20  6:10     ` Prafulla Wadaskar
2012-04-20  6:46       ` Albert ARIBAUD
2012-07-03 11:59     ` Prafulla Wadaskar
2012-07-05  8:40       ` Albert ARIBAUD
2012-07-05  9:37         ` [U-Boot] Pull request for u-boot-marvell.git - PLEASE HOLD ON Albert ARIBAUD
2012-07-05  9:44           ` [U-Boot] Pull request for u-boot-marvell.git - go ahead Albert ARIBAUD
2012-07-05 11:29             ` [U-Boot] Pull request for u-boot-marvell.git Prafulla Wadaskar
2012-07-05 11:50               ` Albert ARIBAUD
2012-07-05 17:38             ` Prafulla Wadaskar
2012-07-06 21:30               ` Albert ARIBAUD
2012-09-03  9:20             ` Prafulla Wadaskar
2012-09-03 18:59               ` Albert ARIBAUD
2012-09-05 19:56               ` Simon Guinot
2012-09-06  1:21                 ` Prafulla Wadaskar
2012-09-06  8:22                   ` Albert ARIBAUD
2012-09-06  9:25                     ` [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices Simon Guinot
2012-09-06  9:25                       ` [U-Boot] [PATCH v3 1/4] lacie_kw: add support for EFI partitions Simon Guinot
2012-09-06  9:25                       ` [U-Boot] [PATCH v3 2/4] ARM: add netspace_mini_v2 to mach-types.h Simon Guinot
2012-09-06  9:25                       ` [U-Boot] [PATCH v3 3/4] ARM: add support for Network Space v2 Lite and Mini Simon Guinot
2012-09-06  9:25                       ` Simon Guinot [this message]
2012-09-06 11:27                       ` [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices Simon Guinot
2012-09-06 15:06                         ` Albert ARIBAUD
2012-09-06 18:17                           ` Prafulla Wadaskar
2012-09-06 20:51                             ` [U-Boot] [PATCH v4 0/3] " Simon Guinot
2012-09-06 20:51                               ` [U-Boot] [PATCH v4 1/3] lacie_kw: add support for EFI partitions Simon Guinot
2012-09-06 20:51                               ` [U-Boot] [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and Mini Simon Guinot
2012-09-06 23:19                                 ` Prafulla Wadaskar
2012-09-07  9:27                                   ` Simon Guinot
2012-09-07 15:52                                     ` Prafulla Wadaskar
2012-09-06 20:51                               ` [U-Boot] [PATCH v4 3/3] ARM: add support for d2 Network v2 Simon Guinot
2012-09-06 22:56                               ` [U-Boot] [PATCH v4 0/3] Board support and feature for LaCie devices Prafulla Wadaskar
2012-10-03  9:01             ` [U-Boot] Pull request for u-boot-marvell.git Prafulla Wadaskar
2012-10-03 16:06               ` Albert ARIBAUD
2012-12-20  6:56             ` Prafulla Wadaskar
2012-12-20 10:05             ` Prafulla Wadaskar
2012-12-23 15:10               ` Albert ARIBAUD
2013-01-07 12:26                 ` Prafulla Wadaskar
2013-01-08 11:35                   ` Andreas Bießmann
2013-01-08 15:03                   ` Albert ARIBAUD
2013-01-08 17:21                     ` Prafulla Wadaskar
2013-01-08 19:14                       ` Albert ARIBAUD
2013-01-08 19:51                         ` Albert ARIBAUD
2013-01-10  7:54                       ` Albert ARIBAUD
     [not found]             ` <DCB55AE5D43FB64FA6D3F5573FA2D42B1A3B957247@SC-VEXCH4.marvell.com>
2013-04-12 13:54               ` Prafulla Wadaskar
2013-04-12 15:12                 ` Albert ARIBAUD
2013-06-20  5:38               ` Prafulla Wadaskar
2013-06-20  8:44                 ` Albert ARIBAUD
2013-09-25 11:20               ` Prafulla Wadaskar
2013-10-02 12:51                 ` Albert ARIBAUD
2013-10-07  7:18                   ` Holger Brunck
2013-10-07 12:58                     ` Prafulla Wadaskar
2013-10-10 17:06                       ` Holger Brunck
2013-10-14 10:46                         ` Prafulla Wadaskar
2013-11-28 13:01                         ` Holger Brunck
2013-11-29  3:32                           ` Prafulla Wadaskar
2013-12-01 16:00                             ` Luka Perkov
2014-01-06 12:38               ` Prafulla Wadaskar
2014-01-08 16:00                 ` Albert ARIBAUD
2014-10-06 13:22                   ` Prafulla Wadaskar
2014-10-08 19:06                     ` Albert ARIBAUD
2012-07-03 12:00     ` Prafulla Wadaskar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346923527-1158-5-git-send-email-simon.guinot@sequanux.org \
    --to=simon.guinot@sequanux.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.