summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2013-11-13 18:05:34 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-18 10:50:56 +0100
commit249c48a0756fe6039cade2213c9cbcc5dd8d7585 (patch)
treecc4b477f2a02d0f1766655d8cbb0a3df79d85f47 /arch
parent0e2308643c5b4322a175a5ce86457b1b0461cd23 (diff)
downloadbarebox-249c48a0756fe6039cade2213c9cbcc5dd8d7585.tar.gz
barebox-249c48a0756fe6039cade2213c9cbcc5dd8d7585.tar.xz
ppc: DA923RC: update board initialisation
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> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc/boards/geip-da923rc/da923rc.c4
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 99d139354d..976aa8d54c 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);