Bug fixes for LaCie devices
v2 cover Bug fixes for LaCie devices
This patch series provides bug fixes for LaCie devices (mostly for Internet Space v2 and 2Big Network v2).
Changes for v2:
- Move bug fixes into a separate patch set.
Simon Guinot (3):
lacie_kw: fix SDRAM banks number for net2big_v2
lacie_kw: fix CONFIG_SYS_KWD_CONFIG for inetspace_v2
ARM: don't probe PHY address for LaCie boards
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 +- include/configs/lacie_kw.h | 6 +----- 6 files changed, 12 insertions(+), 25 deletions(-)
Signature · 1 line
1.7.9.5
PATCH v2 1/3 lacie_kw: fix SDRAM banks number for net2big_v2
---
No changes for 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 v2 2/3 lacie_kw: fix CONFIG_SYS_KWD_CONFIG for inetspace_v2
In reply to Simon Guinot---
No changes for v2.
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 v2 3/3 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.
---
No changes for v2.
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
v2 cover Bug fixes for LaCie devices
In reply to Simon GuinotQuoted 11 lines · Simon Guinot
This patch series provides bug fixes for LaCie devices (mostly for Internet Space v2 and 2Big Network v2).
Changes for v2:
- Move bug fixes into a separate patch set.Simon Guinot (3):
lacie_kw: fix SDRAM banks number fornet2big_v2
lacie_kw: fixCONFIG_SYS_KWD_CONFIGforinetspace_v2
ARM: don't probe PHY address for LaCie boards
Quoted 7 lines
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 +- include/configs/lacie_kw.h | 6 +----- 6 files changed, 12 insertions(+), 25 deletions(-)
Hi Prafulla,
Please could you pick this patches ?
Thanks,
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/20120614/b600f21a/attachment.pgp>
v2 cover Bug fixes for LaCie devices
Quoted 30 lines
-----Original Message-----
From: Simon Guinot [mailto:simon at sequanux.org]
Sent: 14 June 2012 20:41
To: Simon Guinot
Cc: Prafulla Wadaskar; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH v2 0/3] Bug fixes for LaCie devicesQuoted 6 lines · Simon Guinot
This patch series provides bug fixes for LaCie devices (mostly for Internet Space v2 and 2Big Network v2).
Changes for v2:
- Move bug fixes into a separate patch set.Quoted 6 lines
Simon Guinot (3):
lacie_kw: fix SDRAM banks number fornet2big_v2
lacie_kw: fixCONFIG_SYS_KWD_CONFIGforinetspace_v2
ARM: don't probe PHY address for LaCie boardsboard/LaCie/common/common.c | 23 +++++++----------------
Quoted 6 lines
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 +- include/configs/lacie_kw.h | 6 +----- 6 files changed, 12 insertions(+), 25 deletions(-)
Quoted 4 lines
Hi Prafulla,
Please could you pick this patches ?
Sure, I will do it. Hopefully by tomorrow
Regards..
Prafulla . . .
v2 cover Bug fixes for LaCie devices
Quoted 30 lines · Prafulla Wadaskar
Quoted 30 lines
-----Original Message-----
From: Simon Guinot [mailto:simon at sequanux.org]
Sent: 14 June 2012 20:41
To: Simon Guinot
Cc: Prafulla Wadaskar; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH v2 0/3] Bug fixes for LaCie devicesQuoted 6 lines · Simon Guinot
This patch series provides bug fixes for LaCie devices (mostly for Internet Space v2 and 2Big Network v2).
Changes for v2:
- Move bug fixes into a separate patch set.Quoted 6 lines
Simon Guinot (3):
lacie_kw: fix SDRAM banks number fornet2big_v2
lacie_kw: fixCONFIG_SYS_KWD_CONFIGforinetspace_v2
ARM: don't probe PHY address for LaCie boardsboard/LaCie/common/common.c | 23 +++++++----------------
Quoted 6 lines
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 +- include/configs/lacie_kw.h | 6 +----- 6 files changed, 12 insertions(+), 25 deletions(-)
Quoted 6 lines
Quoted 4 lines
Hi Prafulla,
Please could you pick this patches ?
Sure, I will do it. Hopefully by tomorrow
Please could you pick my two patch series ?
Thanks.
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/20120627/c8f62615/attachment.pgp>
v2 cover Bug fixes for LaCie devices
In reply to Prafulla WadaskarQuoted 30 lines · Prafulla Wadaskar
Quoted 30 lines
-----Original Message-----
From: Simon Guinot [mailto:simon at sequanux.org]
Sent: 14 June 2012 20:41
To: Simon Guinot
Cc: Prafulla Wadaskar; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH v2 0/3] Bug fixes for LaCie devicesQuoted 6 lines · Simon Guinot
This patch series provides bug fixes for LaCie devices (mostly for Internet Space v2 and 2Big Network v2).
Changes for v2:
- Move bug fixes into a separate patch set.Quoted 6 lines
Simon Guinot (3):
lacie_kw: fix SDRAM banks number fornet2big_v2
lacie_kw: fixCONFIG_SYS_KWD_CONFIGforinetspace_v2
ARM: don't probe PHY address for LaCie boardsboard/LaCie/common/common.c | 23 +++++++----------------
Quoted 6 lines
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 +- include/configs/lacie_kw.h | 6 +----- 6 files changed, 12 insertions(+), 25 deletions(-)
Quoted 6 lines
Quoted 4 lines
Hi Prafulla,
Please could you pick this patches ?
Sure, I will do it. Hopefully by tomorrow
Hi Prafulla,
There is something more I can do to make this happen ?
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/20120702/6ff122ff/attachment.pgp>
v2 cover Bug fixes for LaCie devices
Quoted 27 lines
-----Original Message-----
From: Simon Guinot [mailto:simon at sequanux.org]
Sent: 02 July 2012 14:19
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Albert Aribaud
Subject: Re: [U-Boot] [PATCH v2 0/3] Bug fixes for LaCie devicesQuoted 11 lines · Prafulla Wadaskar
Quoted 11 lines
-----Original Message-----
From: Simon Guinot [mailto:simon at sequanux.org]
Sent: 14 June 2012 20:41
To: Simon Guinot
Cc: Prafulla Wadaskar; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH v2 0/3] Bug fixes for LaCie devicesQuoted 1 line · Simon Guinot
This patch series provides bug fixes for LaCie devices (mostly
for
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Internet Space v2 and 2Big Network v2).
Changes for v2:
- Move bug fixes into a separate patch set.
Quoted 21 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Simon Guinot (3):
lacie_kw: fix SDRAM banks number fornet2big_v2
lacie_kw: fixCONFIG_SYS_KWD_CONFIGforinetspace_v2
ARM: don't probe PHY address for LaCie boardsboard/LaCie/common/common.c | 23 +++++++---------------
Quoted 14 lines
Quoted 8 lines
-
Quoted 6 lines
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 +- include/configs/lacie_kw.h | 6 +----- 6 files changed, 12 insertions(+), 25 deletions(-)Quoted 4 lines
Hi Prafulla,
Please could you pick this patches ?
Sure, I will do it. Hopefully by tomorrow
Dear Simon
Pulled this patch series to u-boot-marvell.git master branch
Regards...
Prafulla . . .