[U-Boot] [patch] net: micrel: configure skew values for

Marek Vasut marex at denx.de
Sat Oct 25 16:29:55 CEST 2014


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 at 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
-------------- 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: <http://lists.denx.de/pipermail/u-boot/attachments/20141025/973d4091/attachment.bin>


More information about the U-Boot mailing list