All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/linux-firmware: add options for Broadcom BCM4366
@ 2020-05-18  8:33 Rafał Miłecki
  2020-08-04 10:47 ` Rafał Miłecki
  2020-10-17 12:30 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Rafał Miłecki @ 2020-05-18  8:33 UTC (permalink / raw)
  To: buildroot

From: Rafa? Mi?ecki <rafal@milecki.pl>

There are two groups of chipsets in the BCM4366 family requiring two
different firmware files. Each is quite big (over 1 MiB) so use
separated options for them.

Signed-off-by: Rafa? Mi?ecki <rafal@milecki.pl>
---
Yann, Yegor: my previous e-mail didn't reach ML because I wasn't
subscribed thus I'm resending it.
---
 package/linux-firmware/Config.in         | 10 ++++++++++
 package/linux-firmware/linux-firmware.mk | 12 ++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index eba58014b6..3746f6f463 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -128,6 +128,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX
 	help
 	  Firmware files for the Broadcom bcm43xxx, SoftMAC and FullMAC.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_4366B1
+	bool "Broadcom 4366b1"
+	help
+	  Firmware file for the Broadcom 4366b1 FullMAC chip.
+
+config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_4366C0
+	bool "Broadcom 4366c0"
+	help
+	  Firmware file for the Broadcom 4366c0 FullMAC chip.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160
 	bool "Intel iwlwifi 3160"
 	help
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index cbad8d592a..a80eafaf14 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -546,6 +546,18 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_4366B1),y)
+LINUX_FIRMWARE_FILES += \
+	brcm/brcmfmac4366b-pcie.bin brcm/brcmfmac4366b-pcie.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
+endif
+
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_4366C0),y)
+LINUX_FIRMWARE_FILES += \
+	brcm/brcmfmac4366c-pcie.bin brcm/brcmfmac4366c-pcie.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
+endif
+
 # ql2xxx
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y)
 LINUX_FIRMWARE_FILES += \
-- 
2.26.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/linux-firmware: add options for Broadcom BCM4366
  2020-05-18  8:33 [Buildroot] [PATCH] package/linux-firmware: add options for Broadcom BCM4366 Rafał Miłecki
@ 2020-08-04 10:47 ` Rafał Miłecki
  2020-10-17 12:30 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Rafał Miłecki @ 2020-08-04 10:47 UTC (permalink / raw)
  To: buildroot

Hi,

On 18.05.2020 10:33, Rafa? Mi?ecki wrote:
> From: Rafa? Mi?ecki <rafal@milecki.pl>
> 
> There are two groups of chipsets in the BCM4366 family requiring two
> different firmware files. Each is quite big (over 1 MiB) so use
> separated options for them.
> 
> Signed-off-by: Rafa? Mi?ecki <rafal@milecki.pl>
> ---
> Yann, Yegor: my previous e-mail didn't reach ML because I wasn't
> subscribed thus I'm resending it.

Can someone review/accept my patch, please?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/linux-firmware: add options for Broadcom BCM4366
  2020-05-18  8:33 [Buildroot] [PATCH] package/linux-firmware: add options for Broadcom BCM4366 Rafał Miłecki
  2020-08-04 10:47 ` Rafał Miłecki
@ 2020-10-17 12:30 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-10-17 12:30 UTC (permalink / raw)
  To: buildroot

On Mon, 18 May 2020 10:33:05 +0200
Rafa? Mi?ecki <zajec5@gmail.com> wrote:

> From: Rafa? Mi?ecki <rafal@milecki.pl>
> 
> There are two groups of chipsets in the BCM4366 family requiring two
> different firmware files. Each is quite big (over 1 MiB) so use
> separated options for them.
> 
> Signed-off-by: Rafa? Mi?ecki <rafal@milecki.pl>
> ---
> Yann, Yegor: my previous e-mail didn't reach ML because I wasn't
> subscribed thus I'm resending it.
> ---
>  package/linux-firmware/Config.in         | 10 ++++++++++
>  package/linux-firmware/linux-firmware.mk | 12 ++++++++++++
>  2 files changed, 22 insertions(+)

I've slightly tweaked the option names to be a bit more consistent with
existing option names, and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-17 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18  8:33 [Buildroot] [PATCH] package/linux-firmware: add options for Broadcom BCM4366 Rafał Miłecki
2020-08-04 10:47 ` Rafał Miłecki
2020-10-17 12:30 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.