b43: Add support for removing unnecessary firmware files to reduce the image size.
[openwrt-10.03/.git] / package / mac80211 / Config.in
index f3eb5ec3cf0b84d8a115855cf0ca32c1df555e90..0eda184019142be36e0d99b27f20043a24b0a523 100644 (file)
@@ -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
+