From 1bd1a1fa9a0fc66e555da2a39351dd7de5165937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCsch?= Date: Tue, 17 Mar 2009 19:34:45 +0000 Subject: b43: Add support for removing unnecessary firmware files to reduce the image size. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14929 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/Config.in | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'package/mac80211/Config.in') diff --git a/package/mac80211/Config.in b/package/mac80211/Config.in index f3eb5ec3cf..0eda184019 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 + -- cgit v1.2.3