mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 13:11:53 +02:00
- tools/lib/atusd.c (atusd_cycle): we never turned power back on ?
- tools/lib/atusd.c (atusd_open): need to power cycle the board to bring it up properly
This commit is contained in:
parent
bb65155eab
commit
406517baa2
@ -89,7 +89,7 @@ static void atusd_cycle(struct atusd_dsc *dsc)
|
||||
PDDATS = nSEL;
|
||||
|
||||
/* supply power */
|
||||
PDDATS = VDD_OFF;
|
||||
PDDATC = VDD_OFF;
|
||||
|
||||
/* return the bus clock output to the MMC controller */
|
||||
PDFUNS = CLK;
|
||||
@ -254,6 +254,8 @@ static void *atusd_open(void)
|
||||
/* start MMC clock output */
|
||||
MSC_STRPCL = 2;
|
||||
|
||||
atusd_cycle(dsc);
|
||||
|
||||
return dsc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user