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:
d2411e4
)
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>
Sun, 16 Jan 2011 15:58:20 +0000
(17:58 +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
7294522
..
7209279
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");