projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8162875
)
Enable wl500gp workaround to enable 32MB ram (#864)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 13 Jul 2008 22:11:36 +0000
(22:11 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 13 Jul 2008 22:11:36 +0000
(22:11 +0000)
SVN-Revision: 11812
package/nvram/files/nvram.init
patch
|
blob
|
history
diff --git
a/package/nvram/files/nvram.init
b/package/nvram/files/nvram.init
index 164fdb5f95023ef4b04987f41b40f4f365097c2d..fcfa7f65e9c4516ef9900abdd2272ccb48d0d7cb 100755
(executable)
--- a/
package/nvram/files/nvram.init
+++ b/
package/nvram/files/nvram.init
@@
-51,6
+51,11
@@
fixup_linksys() {
nvram_set pa0maxpwr 0x4e
}
;;
+ "1071") #0x042f
+ nvram_set sdram_init "$(printf 0x%04x $(( $(/usr/sbin/nvram get sdram_init) | 0x0009 )))"
+ [ "$COMMIT" = 1 ] && {
+ nvram_set sdram_ncdl 0x0
+ }
esac
[ "$COMMIT" = "1" ] && nvram commit
}