From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 25 Oct 2014 16:29:55 +0200 Subject: [U-Boot] [patch] net: micrel: configure skew values for In-Reply-To: <20141025112752.GA19599@amd> References: <20141025112752.GA19599@amd> Message-ID: <201410251629.55285.marex@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 On Saturday, October 25, 2014 at 01:27:52 PM, Pavel Machek wrote: > This adds skew timing configuration for micrel ksz9021 > configuration. With this patch, I can add > > #define CONFIG_KSZ9021_CLK_SKEW_ENV "micrel-ksz9021-clk-skew" > #define CONFIG_KSZ9021_CLK_SKEW_VAL 0xf0f0 > #define CONFIG_KSZ9021_DATA_SKEW_ENV "micrel-ksz9021-data-skew" > #define CONFIG_KSZ9021_DATA_SKEW_VAL 0x0 > > to my board's configuration file, and get working networking in > u-boot. > > Signed-off-by: Pavel Machek CC boundary devices guys, since they already have this on Nitrogen6x, but they placed the PHY tuning into the board file (which I think is more correct). See the attachment, I think this might be a stab on what you want to do. Also, I don't think it's necessary to explicitly define new ad-hoc env variables, actually I doubt there's any need for any env variables at all. Best regards, Marek Vasut -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-arm-socfpga-board2-Add-Micrel-PHY-tuning.patch Type: text/x-patch Size: 1919 bytes Desc: not available URL: