[U-Boot] [PATCH v2] arm926ejs, at91: add common phy_reset function

Bo Shen voice.shen at atmel.com
Mon Nov 18 10:27:19 CET 2013


Hi Heiko,

On 11/18/2013 03:07 PM, Heiko Schocher wrote:
> add common phy reset code into a common function.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Cc: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: Bo Shen <voice.shen at atmel.com>
> Cc: Jens Scharsig <esw at bus-elektronik.de>
> Cc: Sergey Lapin <slapin at ossfans.org>
> Cc: Stelian Pop <stelian at popies.net>
> Cc: Albin Tonnerre <albin.tonnerre at free-electrons.com>
> Cc: Eric Benard <eric at eukrea.com>
> Cc: Markus Hubig <mhubig at imko.de>
>
> ---
> - changes for v2:
>    - add comment from Andreas Bießmann:
>      - constify timeout
>      - add some more comment
>      - add Markus Hubig to Copyright
>    - removed makefile changes
>    - add CONFIG_AT91_WANTS_COMMON_PHY
>    - rebased against commit c2e5e802ecb7ab668ce9911b210ed68c804b349f
>    - Patch based on the spl v4 patchset from Bo Shen, see:
>      http://lists.denx.de/pipermail/u-boot/2013-November/167235.html
> ---
>   arch/arm/cpu/at91-common/Makefile               |  1 +
>   arch/arm/cpu/at91-common/phy.c                  | 57 +++++++++++++++++++++++++
>   arch/arm/include/asm/arch-at91/at91_common.h    |  1 +
>   board/BuS/vl_ma2sc/vl_ma2sc.c                   | 18 +-------
>   board/afeb9260/afeb9260.c                       | 18 +-------
>   board/atmel/at91sam9260ek/at91sam9260ek.c       | 19 +--------
>   board/atmel/at91sam9263ek/at91sam9263ek.c       | 19 +--------
>   board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 19 +--------
>   board/bluewater/snapper9260/snapper9260.c       | 16 +------
>   board/calao/sbc35_a9g20/sbc35_a9g20.c           | 19 +--------
>   board/eukrea/cpu9260/cpu9260.c                  | 18 +-------
>   board/taskit/stamp9g20/stamp9g20.c              | 31 +-------------
>   include/configs/afeb9260.h                      |  2 +-
>   include/configs/at91sam9260ek.h                 |  1 +
>   include/configs/at91sam9263ek.h                 |  1 +
>   include/configs/at91sam9m10g45ek.h              |  1 +
>   include/configs/cpu9260.h                       |  1 +
>   include/configs/sbc35_a9g20.h                   |  1 +
>   include/configs/snapper9260.h                   |  1 +
>   include/configs/stamp9g20.h                     |  1 +
>   include/configs/vl_ma2sc.h                      |  1 +
>   21 files changed, 79 insertions(+), 167 deletions(-)
>   create mode 100644 arch/arm/cpu/at91-common/phy.c

Test OK on at91sam9m10g45ek board.

Tested-by: Bo Shen <voice.shen at atmel.com>
Acked-by: Bo Shen <voice.shen at atmel.com>


Best Regards,
Bo Shen


More information about the U-Boot mailing list