From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valentin Longchamp Date: Fri, 17 Aug 2012 10:43:05 +0200 Subject: [U-Boot] [PATCH 1/2] arm/km: add mv88e6352 configuration for kmnusa In-Reply-To: References: <1345116320-19826-1-git-send-email-valentin.longchamp@keymile.com><1345116320-19826-2-git-send-email-valentin.longchamp@keymile.com> Message-ID: <502E0419.6040803@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/17/2012 09:59 AM, Prafulla Wadaskar wrote: > > >> -----Original Message----- >> From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com] >> Sent: 16 August 2012 16:55 >> To: u-boot at lists.denx.de >> Cc: holger.brunck at keymile.com; Prafulla Wadaskar; >> valentin.longchamp at keymile.com >> Subject: [PATCH 1/2] arm/km: add mv88e6352 configuration for kmnusa >> >> The kmnusa board uses a mv88e6352 switch that is connected to the main >> eth interface of the kirkwood. Therefore the switch must be configured >> so that the kirkwood's egiga eth inferface can be used. >> >> Signed-off-by: Valentin Longchamp >> Cc: Holger Brunck >> Cc: Prafulla Wadaskar >> --- >> board/keymile/km_arm/km_arm.c | 63 >> +++++++++++++++++++++++++++++++++++++++++ >> 1 files changed, 63 insertions(+), 0 deletions(-) >> >> diff --git a/board/keymile/km_arm/km_arm.c >> b/board/keymile/km_arm/km_arm.c >> index 2b2ca39..c0069c1 100644 >> --- a/board/keymile/km_arm/km_arm.c >> +++ b/board/keymile/km_arm/km_arm.c >> @@ -385,6 +385,69 @@ void reset_phy(void) >> /* reset the phy */ >> miiphy_reset(name, CONFIG_PHY_BASE_ADR); >> } >> +#elif defined(CONFIG_KM_PIGGY4_88E6352) >> + >> +#include >> + >> +#if defined(CONFIG_KM_NUSA) >> +struct mv88e_sw_reg extsw_conf[] = { >> + /* port 0, PIGY4, autoneg */ >> + /* first the fix for the 1000Mbits Autoneg, this is from >> + * a Marvell errata, the regs are undocumented */ > > May you please follow standard c-style commenting? > OK, I will change this comment. Is it OK if I just repost this updated patch as a reply to this message since it's a very minor change or do you need the whole series ? Thanks Valentin