[RFC PATCH] net, qe: add DM support for QE UEC ethernet
Heiko Schocher
hs at denx.de
Thu Apr 9 07:19:16 CEST 2020
Hello Priyanka,
Am 18.02.2020 um 10:05 schrieb Heiko Schocher:
> add DM/DTS suppor for the UEC ethernet on QUICC Engine
> Block.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
> ---
> Travis build:
>
> https://travis-ci.org/hsdenx/u-boot-test/builds/651400509
>
> - I let the old none DM based implementation in code
> so boards should work with old implementation.
> This Code should be removed if all boards are converted
> to DM/DTS.
>
> - add the DM based qe uec driver under drivers/net/qe
>
> - Therefore copied the files uccf.c uccf.h uec.h from
> drivers/qe. So there are a lot of Codingstyle problems
> currently. I fix them in next version if this RFC
> patch is OK or it needs some changes.
>
> - The dm based driver code is now under drivers/net/qe/dm_qe_uec.c
> Used a lot of functions from drivers/qe/uec.c
>
> - seperated the PHY specific code into seperate file
> drivers/net/qe/dm_qe_uec_phy.c
>
>
> drivers/net/Kconfig | 2 +
> drivers/net/Makefile | 1 +
> drivers/net/qe/Kconfig | 9 +
> drivers/net/qe/Makefile | 5 +
> drivers/net/qe/dm_qe_uec.c | 1161 ++++++++++++++++++++++++++++++++
> drivers/net/qe/dm_qe_uec.h | 22 +
> drivers/net/qe/dm_qe_uec_phy.c | 161 +++++
> drivers/net/qe/uccf.c | 388 +++++++++++
> drivers/net/qe/uccf.h | 117 ++++
> drivers/net/qe/uec.h | 742 ++++++++++++++++++++
> drivers/qe/uccf.c | 2 +
> drivers/qe/uec.c | 2 +
> drivers/qe/uec_phy.c | 3 +
> 13 files changed, 2615 insertions(+)
> create mode 100644 drivers/net/qe/Kconfig
> create mode 100644 drivers/net/qe/Makefile
> create mode 100644 drivers/net/qe/dm_qe_uec.c
> create mode 100644 drivers/net/qe/dm_qe_uec.h
> create mode 100644 drivers/net/qe/dm_qe_uec_phy.c
> create mode 100644 drivers/net/qe/uccf.c
> create mode 100644 drivers/net/qe/uccf.h
> create mode 100644 drivers/net/qe/uec.h
Any comments?
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list