diff options
author | Stefan Mavrodiev <stefan@olimex.com> | 2018-02-02 16:53:38 +0300 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-03-13 20:06:33 +0300 |
commit | b30c4190407be9807f6b5fdcfd3a3d983a961dee (patch) | |
tree | 6dda77958901da0940c2fd61c596a2c9dcc92c94 /include/configs/ds414.h | |
parent | 2d53018a0ef268ba73aebe2441f1fd7c65533d78 (diff) | |
download | u-boot-b30c4190407be9807f6b5fdcfd3a3d983a961dee.tar.xz |
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>
Diffstat (limited to 'include/configs/ds414.h')
-rw-r--r-- | include/configs/ds414.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/ds414.h b/include/configs/ds414.h index 69217143f9..ce520b23de 100644 --- a/include/configs/ds414.h +++ b/include/configs/ds414.h @@ -40,7 +40,6 @@ #define CONFIG_ENV_SECT_SIZE (64 << 10) /* 64KiB sectors */ #define CONFIG_PHY_MARVELL /* there is a marvell phy */ -#define CONFIG_PHY_ADDR { 0x1, 0x0 } #define CONFIG_SYS_NETA_INTERFACE_TYPE PHY_INTERFACE_MODE_RGMII #define CONFIG_SYS_ALT_MEMTEST |