Skip to content
  • Stefan Mavrodiev's avatar
    Move CONFIG_PHY_ADDR to Kconfig · b30c4190
    Stefan Mavrodiev authored and Jagan Teki's avatar Jagan Teki committed
    
    
    CONFIG_PHY_ADDR is used for old-style configuration. This makes
    impossible changing the PHY address, if multiple boards share a same
    config header file (for example include/configs/sunxi-common.h).
    
    Moving this to Kconfig helps overcoming this issue. It's defined
    as entry inside PHYLIB section.
    
    After the implemention, moveconfig was run. The issues are:
    	- edb9315a	- CONFIG_PHYLIB is not enabled. Entry is
    			  deleted.
    
    	- ds414		- CONFIG_PHYLIB is in incompatible format:
    			  { 0x1, 0x0 }. This entry is also deleted.
    
    	- devkit3250	- The PHY_ADDR is in hex format (0x1F).
    			  Manually CONFIG_PHY_ADDR=31 is added in
    			  the defconfig.
    
    After the changes the suspicious defconfigs passes building.
    
    Signed-off-by: default avatarStefan Mavrodiev <stefan@olimex.com>
    Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    [jagan: rebased on master]
    Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
    Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
    b30c4190