1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 03:24:04 +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:
Werner Almesberger 2010-09-05 20:59:02 -03:00
parent bb65155eab
commit 406517baa2

View File

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