[PATCH 3/4] arm64: rk3399: r4s: Remove undesirable MAC address fetching methods for ethernet

Kever Yang kever.yang at rock-chips.com
Wed Aug 11 12:07:39 CEST 2021


Xiaobo Tian <peterwillcn at gmail.com> 于2021年7月6日周二 下午10:44写道:
>
> Remove the recommended MAC address from the network card.
> NanoPi R4S has a EEPROM attached to the 2nd I2C bus (U92), which stores the MAC address.
>
> Signed-off-by: Xiaobo Tian <peterwillcn at gmail.com>

Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>  arch/arm/dts/rk3399-nanopi-r4s.dts | 15 ---------------
>  1 file changed, 15 deletions(-)
>
> diff --git a/arch/arm/dts/rk3399-nanopi-r4s.dts b/arch/arm/dts/rk3399-nanopi-r4s.dts
> index f663bc87a5..042c73ca17 100644
> --- a/arch/arm/dts/rk3399-nanopi-r4s.dts
> +++ b/arch/arm/dts/rk3399-nanopi-r4s.dts
> @@ -17,10 +17,6 @@
>         model = "FriendlyElec NanoPi R4S";
>         compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
>
> -       aliases {
> -               ethernet1 = &r8169;
> -       };
> -
>         vdd_5v: vdd-5v {
>                 compatible = "regulator-fixed";
>                 regulator-name = "vdd_5v";
> @@ -95,17 +91,6 @@
>         max-link-speed = <1>;
>         num-lanes = <1>;
>         vpcie3v3-supply = <&vcc3v3_sys>;
> -
> -       pcie at 0 {
> -               reg = <0x00000000 0 0 0 0>;
> -               #address-cells = <3>;
> -               #size-cells = <2>;
> -
> -               r8169: pcie at 0,0 {
> -                       reg = <0x000000 0 0 0 0>;
> -                       local-mac-address = [ 00 00 00 00 00 00 ];
> -               };
> -       };
>  };
>
>  &sdhci {
> --
> 2.32.0
>


More information about the U-Boot mailing list