
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 pavel@denx.de
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