[U-Boot] 83xx, uec: split enet_interface in two variables, was: 83xx, uec: adjust enet_interface settings on the fly.

Ben Warren biggerbadderben at gmail.com
Mon Feb 1 06:25:21 CET 2010


Hi Heiko,

Heiko Schocher wrote:
> There's no sensible reason to unite speed and interface type into
> one variable.  So split this variable enet_interface into two
> vars: enet_interface_type, which hold the interface type and speed.
>
> Also: add the possibility for switching between 10 and 100 MBit
> interfaces on the fly, when running in FAST_ETH mode.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
> ---
>  board/freescale/mpc8360emds/mpc8360emds.c |    3 +-
>  drivers/qe/uec.c                          |  122 ++++++++++++++++-------------
>  drivers/qe/uec.h                          |   34 ++++----
>  drivers/qe/uec_phy.c                      |   84 +++++++++++---------
>  include/configs/MPC8323ERDB.h             |    6 +-
>  include/configs/MPC832XEMDS.h             |    6 +-
>  include/configs/MPC8360EMDS.h             |    6 +-
>  include/configs/MPC8360ERDK.h             |    6 +-
>  include/configs/MPC8568MDS.h              |    6 +-
>  include/configs/MPC8569MDS.h              |   30 +++++---
>  include/configs/kmeter1.h                 |    3 +-
>  11 files changed, 175 insertions(+), 131 deletions(-)
>   
Applied to net repo.

thanks,
Ben


More information about the U-Boot mailing list