From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Shen Date: Mon, 18 Nov 2013 17:27:19 +0800 Subject: [U-Boot] [PATCH v2] arm926ejs, at91: add common phy_reset function In-Reply-To: <1384758443-3706-1-git-send-email-hs@denx.de> References: <1384758443-3706-1-git-send-email-hs@denx.de> Message-ID: <5289DD77.2000800@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Andreas Bie?mann > Cc: Bo Shen > Cc: Jens Scharsig > Cc: Sergey Lapin > Cc: Stelian Pop > Cc: Albin Tonnerre > Cc: Eric Benard > Cc: Markus Hubig > > --- > - 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 Acked-by: Bo Shen Best Regards, Bo Shen