[U-Boot] [PATCH 1/3] sunxi: Add EMAC ethernet0 alias for H3 dtsi

Hans de Goede hdegoede at redhat.com
Wed Jul 27 00:32:05 CEST 2016


Hi,

On 07/22/2016 12:16 PM, Chen-Yu Tsai wrote:
> The sunxi ethernet address generation code looks for ethernet[0-3]
> aliases to find ethernet controllers to generate MAC addresses for.
>
> Without a valid address, the driver fails to register.
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>

Thanks I've merged the entire series, note that I've also added
a patch disabling the driver for now as it still has some issues,
see the other mail I've send on this.

Regards,

Hans



> ---
>  arch/arm/dts/sun8i-h3.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/arm/dts/sun8i-h3.dtsi
> index 72c0920466a7..84e52b9cdb29 100644
> --- a/arch/arm/dts/sun8i-h3.dtsi
> +++ b/arch/arm/dts/sun8i-h3.dtsi
> @@ -48,6 +48,10 @@
>  / {
>  	interrupt-parent = <&gic>;
>
> +	aliases {
> +		ethernet0 = <&emac>;
> +	};
> +
>  	cpus {
>  		#address-cells = <1>;
>  		#size-cells = <0>;
>


More information about the U-Boot mailing list