aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/files
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
commitb3b6b6851e4c1c2c311dcdd692ccc8a6d14eb9d1 (patch)
tree6b5f521c0a535e17f5a4b519911539931b2a505e /package/nvram/files
parent36bd09d6fe60dc738a35e8a980d5655647b5483f (diff)
downloadupstream-b3b6b6851e4c1c2c311dcdd692ccc8a6d14eb9d1.tar.gz
upstream-b3b6b6851e4c1c2c311dcdd692ccc8a6d14eb9d1.tar.bz2
upstream-b3b6b6851e4c1c2c311dcdd692ccc8a6d14eb9d1.zip
Enable wl500gp workaround to enable 32MB ram (#864)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11812 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nvram/files')
-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
}