aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/files/nvram.init
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-07-13 22:11:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-07-13 22:11:36 +0000
commit24aff1f20a3ce08b3fbd8a6d303f64b45ce6d287 (patch)
tree49950301224cf26c85fada91bd52afdc35fc8cd7 /package/nvram/files/nvram.init
parent8162875807d27188f7f65d1016a1290374eff96c (diff)
downloadupstream-24aff1f20a3ce08b3fbd8a6d303f64b45ce6d287.tar.gz
upstream-24aff1f20a3ce08b3fbd8a6d303f64b45ce6d287.tar.bz2
upstream-24aff1f20a3ce08b3fbd8a6d303f64b45ce6d287.zip
Enable wl500gp workaround to enable 32MB ram (#864)
SVN-Revision: 11812
Diffstat (limited to 'package/nvram/files/nvram.init')
-rwxr-xr-xpackage/nvram/files/nvram.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/nvram/files/nvram.init b/package/nvram/files/nvram.init
index 164fdb5f95..fcfa7f65e9 100755
--- 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
}