From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imx: mx35pdk: Fix MUX2_CTR GPIO
Date: Mon, 06 May 2013 15:22:47 +0200 [thread overview]
Message-ID: <5187AEA7.3070801@denx.de> (raw)
In-Reply-To: <1367840031-25944-1-git-send-email-benoit.thebaudeau@advansee.com>
On 06/05/2013 13:33, Beno?t Th?baudeau wrote:
> MUX2_CTR is on GPIO1[5], not GPIO2[5], and it needs to be set high in order to
> connect the FEC.
>
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> ---
> board/freescale/mx35pdk/mx35pdk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c
> index 12e84d7..9f667d2 100644
> --- a/board/freescale/mx35pdk/mx35pdk.c
> +++ b/board/freescale/mx35pdk/mx35pdk.c
> @@ -245,7 +245,7 @@ int board_late_init(void)
>
> imx_iomux_v3_setup_pad(MX35_PAD_COMPARE__GPIO1_5);
>
> - gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
> + gpio_direction_output(IMX_GPIO_NR(1, 5), 1);
> }
>
> val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;
>
Thanks for fixing it !
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
prev parent reply other threads:[~2013-05-06 13:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 11:33 [U-Boot] [PATCH] imx: mx35pdk: Fix MUX2_CTR GPIO Benoît Thébaudeau
2013-05-06 13:22 ` Stefano Babic [this message]
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=5187AEA7.3070801@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/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