[U-Boot-Custodians] RFC: Migration target date for DM_ETH

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Feb 26 20:07:48 CET 2020


On 2/26/20 7:58 PM, Christophe Leroy wrote:
>
>
> Le 09/08/2019 à 08:30, Heinrich Schuchardt a écrit :
>> Currently dozens of boards still do not use the driver model for the
>> network devices. This makes integration between devices in the UEFI
>> sub-system with the U-Boot devices complicated.
>>
>> See: https://travis-ci.org/xypron2/u-boot/builds/569675547
>>
>> In doc/driver-model/migration.rst I am missing a migration target day
>> for DM_ETH. Shouldn't define one? 2020-07 should be realistic.
>
> Is there some guidance and/or examples on how to proceed to migrate an
> Ethernet driver to DM_ETH, as there is for an SPI driver
> (doc/driver-model/spi-howto.rst)
>
> I'm looking at converting the mpc8xx_fec driver.

git grep -n UCLASS_ETH

yields many examples you could use for reference.

Have a look at doc/device-tree-bindings/net/ethernet.txt.

Best regards

Heinrich


More information about the U-Boot-Custodians mailing list