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:
parent
0e2308643c
commit
249c48a075
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue