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 <[email protected]>
Cc: Andreas Bießmann <[email protected]>
Cc: Bo Shen <[email protected]>
Cc: Jens Scharsig <[email protected]>
Cc: Sergey Lapin <[email protected]>
Cc: Stelian Pop <[email protected]>
Cc: Albin Tonnerre <[email protected]>
Cc: Eric Benard <[email protected]>
Cc: Markus Hubig <[email protected]>
---
- 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 <[email protected]>
Acked-by: Bo Shen <[email protected]>
Best Regards,
Bo Shen
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot