Bug fixes and board support for LaCie devices
cover Bug fixes and board support for LaCie devices
Hi,
Here is a patch series wich provides some bug fixes for the Internet Space v2 and 2Big Network v2 devices.
In addition, support is also added for the following devices:
- Network Space v2 Lite
- Network Space v2 Mini
- d2 Network v2.
Regards,
Simon
Simon Guinot (6):
lacie_kw: fix SDRAM banks number for net2big_v2
lacie_kw: fix CONFIG_SYS_KWD_CONFIG for inetspace_v2
lacie_kw: add support for EFI partitions
ARM: don't probe PHY address for LaCie boards
ARM: add support for Network Space v2 Lite and Mini
ARM: add support for d2 Network v2
arch/arm/include/asm/mach-types.h | 13 +++ board/LaCie/common/common.c | 53 +++++++--- board/LaCie/common/common.h | 3 +- board/LaCie/edminiv2/edminiv2.c | 2 +- board/LaCie/net2big_v2/net2big_v2.c | 2 +- board/LaCie/netspace_v2/kwbimage-ns2l.cfg | 162 +++++++++++++++++++++++++++++ board/LaCie/netspace_v2/netspace_v2.c | 6 +- boards.cfg | 3 + include/configs/lacie_kw.h | 48 +++++++-- 9 files changed, 261 insertions(+), 31 deletions(-) create mode 100644 board/LaCie/netspace_v2/kwbimage-ns2l.cfg
Signature · 1 line
1.7.9.5
PATCH 1/6 lacie_kw: fix SDRAM banks number for net2big_v2
--- include/configs/lacie_kw.h | 4 ---- 1 file changed, 4 deletions(-)
include/configs/lacie_kw.h +0 -4
@@ -66,11 +66,7 @@/* * SDRAM configuration */ -#if defined(CONFIG_NET2BIG_V2 ) -#define CONFIG_NR_DRAM_BANKS 2 -#else #define CONFIG_NR_DRAM_BANKS 1 -#endif #ifdef CONFIG_INETSPACE_V2 /* Different SDRAM configuration and size for Internet Space v2 */
Signature · 1 line
1.7.9.5
PATCH 2/6 lacie_kw: fix CONFIG_SYS_KWD_CONFIG for inetspace_v2
In reply to Simon Guinot--- include/configs/lacie_kw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/lacie_kw.h +1 -1
@@ -70,7 +70,7 @@#ifdef CONFIG_INETSPACE_V2 /* Different SDRAM configuration and size for Internet Space v2 */ -#define CONFIG_SYS_KWD_CONFIG ($(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-is2.cfg) +#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-is2.cfg#endif /*
Signature · 1 line
1.7.9.5
PATCH 3/6 lacie_kw: add support for EFI partitions
In reply to Simon GuinotDefines CONFIG_EFI_PARTITION for LaCie boards.
Additionally this patch defines CONFIG_DOS_PARTITION. Note that this definition is implicit in mv_common.h when CONFIG_CMD_USB is enabled.
--- include/configs/lacie_kw.h | 6 ++++++ 1 file changed, 6 insertions(+)
include/configs/lacie_kw.h +6 -0
@@ -130,6 +130,12 @@#endif /* CONFIG_CMD_I2C */ /* +* Partition support +*/ +#define CONFIG_DOS_PARTITION +#define CONFIG_EFI_PARTITION + +/* * File systems support */ #define CONFIG_CMD_EXT2
Signature · 1 line
1.7.9.5
PATCH 4/6 ARM: don't probe PHY address for LaCie boards
In reply to Simon GuinotThe command miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr) always returns 8 for the PHY address. It is the reset value for the PHY Address Register. Obviously, this default value could be incorrect. Moreover, as the PHY address is well known, there is no need to auto-detect it.
Now, the PHY address must given as a parameter to the PHY initialization function. Additionally this patch also fixes some aesthetic issues.
--- board/LaCie/common/common.c | 23 +++++++---------------- board/LaCie/common/common.h | 2 +- board/LaCie/edminiv2/edminiv2.c | 2 +- board/LaCie/net2big_v2/net2big_v2.c | 2 +- board/LaCie/netspace_v2/netspace_v2.c | 2 +- 5 files changed, 11 insertions(+), 20 deletions(-)
board/LaCie/common/common.c +7 -16
@@ -20,34 +20,25 @@#define MV88E1116_RGMII_TXTM_CTRL (1 << 4)#define MV88E1116_RGMII_RXTM_CTRL (1 << 5) -void mv_phy_88e1116_init (const char *name) +void mv_phy_88e1116_init (const char *name,u16 phyaddr) {u16 reg; -u16 devadr;if (miiphy_set_current_dev (name))return ; -/* command to read PHY dev address */ -if (miiphy_read (name,0xEE ,0xEE , (u16 *) &devadr)) { -printf ("Err..(%s) could not read PHY dev address\n" , __func__); -return ; - } -/* * Enable RGMII delay on Tx and Rx for CPU port * Ref: sec 4.7.2 of chip datasheet */ -miiphy_write (name, devadr,MV88E1116_PGADR_REG ,2 ); -miiphy_read (name, devadr,MV88E1116_MAC_CTRL_REG , ®); +miiphy_write (name, phyaddr,MV88E1116_PGADR_REG ,2 ); +miiphy_read (name, phyaddr,MV88E1116_MAC_CTRL_REG , ®); reg |= (MV88E1116_RGMII_RXTM_CTRL |MV88E1116_RGMII_TXTM_CTRL ); -miiphy_write (name, devadr,MV88E1116_MAC_CTRL_REG , reg); -miiphy_write (name, devadr,MV88E1116_PGADR_REG ,0 ); - -/* reset the phy */ -miiphy_reset (name, devadr); +miiphy_write (name, phyaddr,MV88E1116_MAC_CTRL_REG , reg); +miiphy_write (name, phyaddr,MV88E1116_PGADR_REG ,0 ); -printf ("88E1116 Initialized on %s\n" , name); +if (miiphy_reset (name, phyaddr) ==0 ) +printf ("88E1116 Initialized on %s\n" , name); }#endif /* CONFIG_CMD_NET && CONFIG_RESET_PHY_R */
board/LaCie/common/common.h +1 -1
@@ -11,7 +11,7 @@#define _LACIE_COMMON_H#if defined(CONFIG_CMD_NET ) && defined(CONFIG_RESET_PHY_R ) -void mv_phy_88e1116_init (const char *name); +void mv_phy_88e1116_init (const char *name,u16 phyaddr);#endif #if defined(CONFIG_CMD_I2C ) && defined(CONFIG_SYS_I2C_EEPROM_ADDR )int lacie_read_mac_address (uchar *mac);
board/LaCie/edminiv2/edminiv2.c +1 -1
@@ -96,6 +96,6 @@ int board_init(void)/* Configure and enable MV88E1116 PHY */ void reset_phy (void ) { -mv_phy_88e1116_init ("egiga0" ); +mv_phy_88e1116_init ("egiga0" ,8 ); }#endif /* CONFIG_RESET_PHY_R */
board/LaCie/net2big_v2/net2big_v2.c +1 -1
@@ -109,7 +109,7 @@ int misc_init_r(void)/* Configure and initialize PHY */ void reset_phy (void ) { -mv_phy_88e1116_init ("egiga0" ); +mv_phy_88e1116_init ("egiga0" ,8 ); }#endif
board/LaCie/netspace_v2/netspace_v2.c +1 -1
@@ -107,7 +107,7 @@ int misc_init_r(void)/* Configure and initialize PHY */ void reset_phy (void ) { -mv_phy_88e1116_init ("egiga0" ); +mv_phy_88e1116_init ("egiga0" ,8 ); }#endif
Signature · 1 line
1.7.9.5
PATCH 5/6 ARM: add support for Network Space v2 Lite and Mini
In reply to Simon GuinotThis 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)
--- arch/arm/include/asm/mach-types.h | 13 +++ board/LaCie/common/common.c | 36 ++++++- board/LaCie/common/common.h | 1 + board/LaCie/netspace_v2/kwbimage-ns2l.cfg | 162 +++++++++++++++++++++++++++++ board/LaCie/netspace_v2/netspace_v2.c | 4 + boards.cfg | 2 + include/configs/lacie_kw.h | 26 ++++- 7 files changed, 237 insertions(+), 7 deletions(-) create mode 100644 board/LaCie/netspace_v2/kwbimage-ns2l.cfg
arch/arm/include/asm/mach-types.h +13 -0
@@ -471,6 +471,7 @@ extern unsigned int __machine_arch_type;#define MACH_TYPE_EUKREA_CPUIMX35SD 2821#define MACH_TYPE_EUKREA_CPUIMX51SD 2822#define MACH_TYPE_EUKREA_CPUIMX51 2823 +#define MACH_TYPE_NETSPACE_MINI_V2 2831#define MACH_TYPE_SMDKC210 2838#define MACH_TYPE_OMAP3_BRAILLO 2839#define MACH_TYPE_SPYPLUG 2840
@@ -6614,6 +6615,18 @@ extern unsigned int __machine_arch_type;# define machine_is_eukrea_cpuimx51 () (0)#endif +#ifdef CONFIG_MACH_NETSPACE_MINI_V2 +# ifdef machine_arch_type +# undef machine_arch_type +# define machine_arch_type __machine_arch_type +# else +# define machine_arch_type MACH_TYPE_NETSPACE_MINI_V2 +# endif +# define machine_is_netspace_mini_v2 () (machine_arch_type == MACH_TYPE_NETSPACE_MINI_V2) +#else +# define machine_is_netspace_mini_v2 () (0) +#endif +#ifdef CONFIG_MACH_SMDKC210 # ifdef machine_arch_type# undef machine_arch_type
board/LaCie/common/common.c +33 -3
@@ -13,10 +13,11 @@#if defined(CONFIG_CMD_NET ) && defined(CONFIG_RESET_PHY_R ) +#define MII_MARVELL_PHY_PAGE 22 +#define MV88E1116_LED_FCTRL_REG 10#define MV88E1116_CPRSP_CR3_REG 21#define MV88E1116_MAC_CTRL_REG 21 -#define MV88E1116_PGADR_REG 22#define MV88E1116_RGMII_TXTM_CTRL (1 << 4)#define MV88E1116_RGMII_RXTM_CTRL (1 << 5)
@@ -31,15 +32,44 @@ void mv_phy_88e1116_init(const char *name, u16 phyaddr)* Enable RGMII delay on Tx and Rx for CPU port * Ref: sec 4.7.2 of chip datasheet */ -miiphy_write (name, phyaddr,MV88E1116_PGADR_REG ,2 ); +miiphy_write (name, phyaddr,MII_MARVELL_PHY_PAGE ,2 );miiphy_read (name, phyaddr,MV88E1116_MAC_CTRL_REG , ®); reg |= (MV88E1116_RGMII_RXTM_CTRL |MV88E1116_RGMII_TXTM_CTRL );miiphy_write (name, phyaddr,MV88E1116_MAC_CTRL_REG , reg); -miiphy_write (name, phyaddr,MV88E1116_PGADR_REG ,0 ); +miiphy_write (name, phyaddr,MII_MARVELL_PHY_PAGE ,0 );if (miiphy_reset (name, phyaddr) ==0 )printf ("88E1116 Initialized on %s\n" , name); } + +void mv_phy_88e1318_init (const char *name,u16 phyaddr) +{ +u16 reg; + +if (miiphy_set_current_dev (name)) +return ; + +/* +* Set control mode 4 for LED[0]. +*/ +miiphy_write (name, phyaddr,MII_MARVELL_PHY_PAGE ,3 ); +miiphy_read (name, phyaddr,16 , ®); + reg |=0xf ; +miiphy_write (name, phyaddr,16 , reg); + +/* +* Enable RGMII delay on Tx and Rx for CPU port +* Ref: sec 4.7.2 of chip datasheet +*/ +miiphy_write (name, phyaddr,MII_MARVELL_PHY_PAGE ,2 ); +miiphy_read (name, phyaddr,MV88E1116_MAC_CTRL_REG , ®); + reg |= (MV88E1116_RGMII_TXTM_CTRL |MV88E1116_RGMII_RXTM_CTRL ); +miiphy_write (name, phyaddr,MV88E1116_MAC_CTRL_REG , reg); +miiphy_write (name, phyaddr,MII_MARVELL_PHY_PAGE ,0 ); + +if (miiphy_reset (name, phyaddr) ==0 ) +printf ("88E1318 Initialized on %s\n" , name); +}#endif /* CONFIG_CMD_NET && CONFIG_RESET_PHY_R */ #if defined(CONFIG_CMD_I2C ) && defined(CONFIG_SYS_I2C_EEPROM_ADDR )
board/LaCie/common/common.h +1 -0
@@ -12,6 +12,7 @@#if defined(CONFIG_CMD_NET ) && defined(CONFIG_RESET_PHY_R )void mv_phy_88e1116_init (const char *name,u16 phyaddr); +void mv_phy_88e1318_init (const char *name,u16 phyaddr);#endif #if defined(CONFIG_CMD_I2C ) && defined(CONFIG_SYS_I2C_EEPROM_ADDR )int lacie_read_mac_address (uchar *mac);
board/LaCie/netspace_v2/kwbimage-ns2l.cfg new file +162 -0
162 lines not on this page · raw message
board/LaCie/netspace_v2/netspace_v2.c +4 -0
@@ -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
boards.cfg +2 -0
@@ -144,7 +144,9 @@ mgcoge3un arm arm926ejs km_arm keymile portl2 arm arm926ejs km_arm keymile kirkwood 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 netspace_max_v2 arm arm926ejs netspace_v2 LaCie kirkwood lacie_kw:NETSPACE_MAX_V2 +netspace_mini_v2 arm arm926ejs netspace_v2 LaCie kirkwood lacie_kw:NETSPACE_MINI_V2 netspace_v2 arm arm926ejs netspace_v2 LaCie kirkwood lacie_kw:NETSPACE_V2 dreamplug arm arm926ejs - Marvell kirkwood guruplug arm arm926ejs - Marvell kirkwood
include/configs/lacie_kw.h +22 -4
@@ -27,6 +27,12 @@#elif defined(CONFIG_NETSPACE_V2 )#define CONFIG_MACH_TYPE MACH_TYPE_NETSPACE_V2#define CONFIG_IDENT_STRING " NS v2" +#elif defined(CONFIG_NETSPACE_LITE_V2 ) +#define CONFIG_MACH_TYPE MACH_TYPE_NETSPACE_LITE_V2 +#define CONFIG_IDENT_STRING " NS v2 Lite" +#elif defined(CONFIG_NETSPACE_MINI_V2 ) +#define CONFIG_MACH_TYPE MACH_TYPE_NETSPACE_MINI_V2 +#define CONFIG_IDENT_STRING " NS v2 Mini"#elif defined(CONFIG_NETSPACE_MAX_V2 )#define CONFIG_MACH_TYPE MACH_TYPE_NETSPACE_MAX_V2#define CONFIG_IDENT_STRING " NS Max v2"
@@ -41,8 +47,13 @@* High Level Configuration Options (easy to change) */ #define CONFIG_FEROCEON_88FR131 /* CPU Core subversion */ -#define CONFIG_KIRKWOOD /* SOC Family Name */ -#define CONFIG_KW88F6281 /* SOC Name */ +#define CONFIG_KIRKWOOD /* SoC Family Name */ +/* SoC name */ +#if defined(CONFIG_NETSPACE_LITE_V2 ) || defined(CONFIG_NETSPACE_MINI_V2 ) +#define CONFIG_KW88F6192 +#else +#define CONFIG_KW88F6281 +#endif #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */ /*
@@ -56,7 +67,9 @@#define CONFIG_CMD_SF #define CONFIG_CMD_I2C #define CONFIG_CMD_IDE +#ifndef CONFIG_NETSPACE_MINI_V2 /* No USB ports on Network Space v2 Mini */ #define CONFIG_CMD_USB +#endif /* * Core clock definition
@@ -68,9 +81,14 @@*/ #define CONFIG_NR_DRAM_BANKS 1 -#ifdef CONFIG_INETSPACE_V2 -/* Different SDRAM configuration and size for Internet Space v2 */ +/* +* Different SDRAM configuration and size for some of the boards derived +* from the Network Space v2 +*/ +#if defined(CONFIG_INETSPACE_V2 )#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-is2.cfg +#elif defined(CONFIG_NETSPACE_LITE_V2 ) || defined(CONFIG_NETSPACE_MINI_V2 ) +#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-ns2l.cfg#endif /*
Signature · 1 line
1.7.9.5
PATCH 5/6 ARM: add support for Network Space v2 Lite and Mini
Quoted 25 lines
-----Original Message-----
From: Simon Guinot [mailto:simon.guinot at sequanux.org]
Sent: 16 May 2012 19:51
To: Prafulla Wadaskar
Cc: Albert ARIBAUD; u-boot at lists.denx.de; Simon Guinot
Subject: [PATCH 5/6] ARM: add support for Network Space v2 Lite and MiniThis 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)
Quoted 3 lines
Signed-off-by Simon Guinot <[email protected]>--- arch/arm/include/asm/mach-types.h | 13 +++
I think the updates to this file to be done by ARM maintainer.
Quoted 9 lines
board/LaCie/common/common.c | 36 ++++++- board/LaCie/common/common.h | 1 + board/LaCie/netspace_v2/kwbimage-ns2l.cfg | 162 +++++++++++++++++++++++++++++ board/LaCie/netspace_v2/netspace_v2.c | 4 + boards.cfg | 2 + include/configs/lacie_kw.h | 26 ++++- 7 files changed, 237 insertions(+), 7 deletions(-) create mode 100644 board/LaCie/netspace_v2/kwbimage-ns2l.cfg
Again, can the current cfg files be reused? Instead of adding new?
Regards..
Prafulla . . .
PATCH 5/6 ARM: add support for Network Space v2 Lite and Mini
Quoted 25 lines · Prafulla Wadaskar
Quoted 25 lines
-----Original Message-----
From: Simon Guinot [mailto:simon.guinot at sequanux.org]
Sent: 16 May 2012 19:51
To: Prafulla Wadaskar
Cc: Albert ARIBAUD; u-boot at lists.denx.de; Simon Guinot
Subject: [PATCH 5/6] ARM: add support for Network Space v2 Lite and MiniThis 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)
Quoted 5 lines
Quoted 3 lines
Signed-off-by Simon Guinot <[email protected]>--- arch/arm/include/asm/mach-types.h | 13 +++I think the updates to this file to be done by ARM maintainer.
OK, I will move this part in a separate patch.
Quoted 11 lines
Quoted 10 lines
board/LaCie/common/common.c | 36 ++++++- board/LaCie/common/common.h | 1 + board/LaCie/netspace_v2/kwbimage-ns2l.cfg | 162 +++++++++++++++++++++++++++++ board/LaCie/netspace_v2/netspace_v2.c | 4 + boards.cfg | 2 + include/configs/lacie_kw.h | 26 ++++- 7 files changed, 237 insertions(+), 7 deletions(-) create mode 100644 board/LaCie/netspace_v2/kwbimage-ns2l.cfg
Quoted 1 line
Again, can the current cfg files be reused? Instead of adding new?
No, they can't be reused because the memory type and size are different between Network Space v2 and Network Space Lite v2.
Regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120525/35e4dd31/attachment.pgp>
PATCH 6/6 ARM: add support for d2 Network v2
In reply to Simon GuinotThis 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)
--- boards.cfg | 1 + include/configs/lacie_kw.h | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-)
boards.cfg +1 -0
@@ -142,6 +142,7 @@ km_kirkwood arm arm926ejs km_arm keymile km_kirkwood_pci arm arm926ejs km_arm keymile kirkwood km_kirkwood:KM_RECONFIG_XLX mgcoge3un arm arm926ejs km_arm keymile kirkwood portl2 arm arm926ejs km_arm keymile kirkwood +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
include/configs/lacie_kw.h +8 -2
@@ -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 */
Signature · 1 line
1.7.9.5
cover Bug fixes and board support for LaCie devices
In reply to Simon GuinotQuoted 11 lines
-----Original Message-----
From: Simon Guinot [mailto:simon.guinot at sequanux.org]
Sent: 16 May 2012 19:50
To: Prafulla Wadaskar
Cc: Albert ARIBAUD; u-boot at lists.denx.de; Simon Guinot
Subject: [PATCH 0/6] Bug fixes and board support for LaCie devicesHi,
Quoted 8 lines
Here is a patch series wich provides some bug fixes for the Internet Space v2 and 2Big Network v2 devices.
In addition, support is also added for the following devices:
- Network Space v2 Lite
- Network Space v2 Mini
- d2 Network v2.
Hi Simon
Pls split patches for bugfixes and new board support.
Regards..
Prafulla . . .