9
0
Fork 0

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>
This commit is contained in:
Renaud Barbier 2013-11-13 18:05:34 +00:00 committed by Sascha Hauer
parent 0e2308643c
commit 249c48a075
1 changed files with 2 additions and 2 deletions

View File

@ -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);