git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bed6ba
)
add wifi reset on boot
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 16 Jan 2011 15:39:44 +0000
(17:39 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Tue, 27 Dec 2011 23:46:40 +0000
(
01:46
+0200)
It is recommended to do a reset pulse so that the chip starts it's
power managent properly.
board/pandora/pandora.c
patch
|
blob
|
history
diff --git
a/board/pandora/pandora.c
b/board/pandora/pandora.c
index
26f9979
..
9c75839
100644
(file)
--- a/
board/pandora/pandora.c
+++ b/
board/pandora/pandora.c
@@
-92,6
+92,11
@@
int misc_init_r(void)
dieid_num_r();
+ /* pulse wifi nreset, as recommended by manufacturer */
+ writel(GPIO23, &gpio1_base->setdataout);
+ udelay(5000);
+ writel(GPIO23, &gpio1_base->cleardataout);
+
/* show boot menu? */
if (!(readl(&gpio4_base->datain) & GPIO9))
setenv("preboot", "pmenu");