[U-Boot] [PATCH v3] arm, davinci_emac: fix driver bug if more then 3 PHYs are detected

Tom Rini tom.rini at gmail.com
Wed Nov 9 18:05:44 CET 2011


On Wed, Nov 9, 2011 at 9:50 AM, Heiko Schocher <hs at denx.de> wrote:
> since commits:
> davinci: emac: add support for more than 1 PHYs
> 062fe7d332c28ede25626f448681e43d76bb312e
>
> davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM
> fb1d6332b5430b90a8fa8ebab709f33a60e9f816
[snip]
> - MAX_PHY from 3 to 7

Why don't we add a CONFIG here and default to 3, ie
#ifndef CONFIG_SYS_something
#define CONFIG_SYS_something 3
#endif

Thanks!

-- 
Tom


More information about the U-Boot mailing list