Move CONFIG_PHY_ADDR to Kconfig
authorStefan Mavrodiev <stefan@olimex.com>
Fri, 2 Feb 2018 13:53:38 +0000 (15:53 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Mar 2018 17:06:33 +0000 (22:36 +0530)
commitb30c4190407be9807f6b5fdcfd3a3d983a961dee
tree6dda77958901da0940c2fd61c596a2c9dcc92c94
parent2d53018a0ef268ba73aebe2441f1fd7c65533d78
Move CONFIG_PHY_ADDR to Kconfig

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: Stefan Mavrodiev <stefan@olimex.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[jagan: rebased on master]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
19 files changed:
README
configs/devkit3250_defconfig
configs/khadas-vim_defconfig
configs/libretech-cc_defconfig
configs/p212_defconfig
drivers/net/phy/Kconfig
include/configs/am335x_shc.h
include/configs/baltos.h
include/configs/devkit3250.h
include/configs/ds414.h
include/configs/edb93xx.h
include/configs/khadas-vim.h
include/configs/libretech-cc.h
include/configs/p212.h
include/configs/pepper.h
include/configs/sunxi-common.h
include/configs/work_92105.h
include/configs/x600.h
scripts/config_whitelist.txt