[U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

Jagan Teki jagannadh.teki at gmail.com
Tue Mar 13 17:18:18 UTC 2018


On Fri, Feb 2, 2018 at 7:23 PM, Stefan Mavrodiev <stefan at olimex.com> wrote:
> 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 at olimex.com>
> Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---

rebased on master and

Applied to u-boot-sunxi/master


More information about the U-Boot mailing list