Enable wl500gp workaround to enable 32MB ram (#864)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11812 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli 2008-07-13 22:11:36 +00:00
parent 36bd09d6fe
commit b3b6b6851e

View File

@ -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
}