From: Wolfgang Denk Date: Fri, 26 Mar 2010 12:20:52 +0100 Subject: [U-Boot] [PATCH] Davinci - Support PYHs with MDIO address != 0 In-Reply-To: References: Message-ID: <20100326112052.D2FE6E8E722@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tobias Knutsson, In message you wrote: > > I'm trying to build the latest version of u-boot for the Hawkboard. In > order to so this successfully, I had to make a small patch in order > for u-boot to recognize the ethernet PHY. Hawkboard? I don't see support for any such board in mainline. > I tried to send this patch as an attachment but I got an auto-response > saying that base64-encoded attachments were not allowed. So I will > just paste the patch here realizing that I will probably introduce > some whitespace errors. Why don't you use "git send-email" then? > From acf6164774e9d4440c644d1c04ccddb2e6adcc6f Mon Sep 17 00:00:00 2001 > From: Tobias Knutsson > Date: Thu, 25 Mar 2010 14:17:12 +0100 > Subject: [PATCH] [Davinci] Support PYHs with MDIO address !=3D 0 > > Insert ifdef statement to allow board configuration to override > default PHY MDIO address. > --- We need your Signed-off-by: line for a patch - please see http://www.denx.de/wiki/U-Boot/Patches for details. > /* PHY mask - set only those phy number bits where phy is/can be connected= > */ > +#ifndef EMAC_MDIO_PHY_NUM > #define EMAC_MDIO_PHY_NUM 1 > +#endif > #define EMAC_MDIO_PHY_MASK (1 << EMAC_MDIO_PHY_NUM) Not a single board in mainline defines EMAC_MDIO_PHY_NUM so this change does notreally make sense to me. Which source tree is it supposed to be applid to? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de You don't have to worry about me. I might have been born yesterday... but I stayed up all night.