mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work@mail.ru>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] ARM: freescale-mx51-pdk: Remove FEC GPIO handling
Date: Wed,  8 Jan 2014 09:44:16 +0400	[thread overview]
Message-ID: <1389159856-13909-2-git-send-email-shc_work@mail.ru> (raw)
In-Reply-To: <1389159856-13909-1-git-send-email-shc_work@mail.ru>

Reset GPIO now handled from DTS, no need to touch this in the board.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boards/freescale-mx51-pdk/board.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c
index 379313e..711172d 100644
--- a/arch/arm/boards/freescale-mx51-pdk/board.c
+++ b/arch/arm/boards/freescale-mx51-pdk/board.c
@@ -141,21 +141,14 @@ static void babbage_power_init(void)
 	/* Configure VGEN3 and VCAM regulators to use external PNP */
 	val = 0x208;
 	mc13xxx_reg_write(mc13xxx, MC13892_REG_MODE_1, val);
-	udelay(200);
-#define GPIO_LAN8700_RESET	(1 * 32 + 14)
 
-	/* Reset the ethernet controller over GPIO */
-	gpio_direction_output(GPIO_LAN8700_RESET, 0);
+	udelay(200);
 
 	/* Enable VGEN3, VCAM, VAUDIO, VVIDEO, VSD regulators */
 	val = 0x49249;
 	mc13xxx_reg_write(mc13xxx, MC13892_REG_MODE_1, val);
 
 	udelay(200);
-
-	gpio_set_value(GPIO_LAN8700_RESET, 1);
-
-	mdelay(50);
 }
 
 extern char flash_header_imx51_babbage_start[];
-- 
1.8.3.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-01-08  5:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  5:44 [PATCH 1/2] ARM: i.MX51: Sync DT files with kernel Alexander Shiyan
2014-01-08  5:44 ` Alexander Shiyan [this message]
2014-01-10  7:39 ` Sascha Hauer
2014-01-10  7:58   ` Alexander Shiyan
2014-01-10  8:06     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389159856-13909-2-git-send-email-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox