From: Renaud Barbier <renaud.barbier@ge.com>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] ppc: DA923RC: update board initialisation
Date: Wed, 13 Nov 2013 18:05:34 +0000 [thread overview]
Message-ID: <1384365934-7693-3-git-send-email-renaud.barbier@ge.com> (raw)
In-Reply-To: <1384365934-7693-1-git-send-email-renaud.barbier@ge.com>
Pull the board device reset GPIO pin high as this prevents
PCI bus probing.
The function da923rc_board_init_r is called at the postcore
initcall level so that the udelay function can take advantage
of the core initialisation.
Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
---
arch/ppc/boards/geip-da923rc/da923rc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/ppc/boards/geip-da923rc/da923rc.c b/arch/ppc/boards/geip-da923rc/da923rc.c
index 99d1393..976aa8d 100644
--- a/arch/ppc/boards/geip-da923rc/da923rc.c
+++ b/arch/ppc/boards/geip-da923rc/da923rc.c
@@ -195,7 +195,7 @@ static int da923rc_board_init_r(void)
gpio_set_value(1, 1);
/* De-assert Board reset */
udelay(1000);
- gpio_set_value(0, 0);
+ gpio_set_value(0, 1);
}
/* Enable PCI error reporting */
@@ -209,4 +209,4 @@ static int da923rc_board_init_r(void)
return 0;
}
-core_initcall(da923rc_board_init_r);
+postcore_initcall(da923rc_board_init_r);
--
1.7.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-11-13 18:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 18:05 [PATCH 0/2] DA923RC: add PCI support Renaud Barbier
2013-11-13 18:05 ` [PATCH 1/2] ppc: mpc85xx: add fsl,mpic node frequency property Renaud Barbier
2013-11-13 18:05 ` Renaud Barbier [this message]
2013-11-18 9:51 ` [PATCH 0/2] DA923RC: add PCI support 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=1384365934-7693-3-git-send-email-renaud.barbier@ge.com \
--to=renaud.barbier@ge.com \
--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