summaryrefslogtreecommitdiff
path: root/package/mac80211/Config.in
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2009-03-17 19:34:45 +0000
committerMichael Büsch <mb@bu3sch.de>2009-03-17 19:34:45 +0000
commit48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893 (patch)
tree322504dccb0b98905ee0c61a4e1b752e196f6be1 /package/mac80211/Config.in
parent56bf010d4cd3c289ce5237413a823fab4fe47e7a (diff)
downloadmtk-20170518-48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893.zip
mtk-20170518-48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893.tar.gz
mtk-20170518-48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893.tar.bz2
b43: Add support for removing unnecessary firmware files to reduce the image size.
SVN-Revision: 14929
Diffstat (limited to 'package/mac80211/Config.in')
-rw-r--r--package/mac80211/Config.in44
1 files changed, 44 insertions, 0 deletions
diff --git a/package/mac80211/Config.in b/package/mac80211/Config.in
index f3eb5ec..0eda184 100644
--- a/package/mac80211/Config.in
+++ b/package/mac80211/Config.in
@@ -17,3 +17,47 @@ config B43_OPENFIRMWARE
bool "Open FirmWare for WiFi networks"
endchoice
+
+config B43_FW_SQUASH
+ bool "Remove unnecessary firmware files"
+ depends on PACKAGE_kmod-b43 && !B43_OPENFIRMWARE
+ help
+ This options allows you to remove unnecessary b43 firmware files
+ from the final rootfs image. This can reduce the rootfs size by
+ up to 200k.
+
+ Do _NOT_ use this option, if you don't know the core revision
+ and/or PHY type of your wireless chip.
+
+ If unsure, say N.
+
+config B43_FW_SQUASH_COREREVS
+ string "Core revisions to include"
+ depends on PACKAGE_kmod-b43
+ depends on B43_FW_SQUASH
+ default "5,6,7,8,9,10"
+ help
+ This is a comma seperated list of core revision numbers.
+ Example (keep files for rev5 only):
+ 5
+ Example (keep files for rev5 and rev11):
+ 5,11
+
+config B43_FW_SQUASH_PHYTYPES
+ string "PHY types to include"
+ depends on PACKAGE_kmod-b43
+ depends on B43_FW_SQUASH
+ default "G,LP,N"
+ help
+ This is a comma seperated list of PHY types:
+ A => A-PHY
+ AG => Dual A-PHY G-PHY
+ G => G-PHY
+ LP => LP-PHY
+ N => N-PHY
+
+ Example (keep files for G-PHY only):
+ G
+ Example (keep files for G-PHY and N-PHY):
+ G,N
+