bcm27xx: enable 6.6 testing kernel
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 10 May 2024 16:49:13 +0000 (18:49 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 18 Jun 2024 17:00:51 +0000 (19:00 +0200)
The bcm27xx now supports 6.6 kernel as testing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bcm27xx/Makefile
target/linux/bcm27xx/image/Makefile

index d7b56b23bc64f5b187c446d3e8691a1d954533f5..d0a05f619382f791a954e27b759400052c4256ec 100644 (file)
@@ -12,6 +12,7 @@ FEATURES:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usb
 SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711 bcm2712
 
 KERNEL_PATCHVER:=6.1
+KERNEL_TESTING_PATCHVER:=6.6
 
 define Target/Description
        Build firmware image for Broadcom BCM27xx SoC devices.
index 9d41e47bac3d15485a96eac9fdd3d28e4875deb4..deff607070259b5b0f5a8fd9b95e95e8bf7dda79 100644 (file)
@@ -72,10 +72,17 @@ endef
 
 define Device/rpi
   DEVICE_MODEL := B/B+/CM/Zero/ZeroW
+ifdef CONFIG_LINUX_6_6
+  DEVICE_DTS := \
+       broadcom/bcm2708-rpi-b broadcom/bcm2708-rpi-b-rev1 broadcom/bcm2708-rpi-b-plus \
+       broadcom/bcm2708-rpi-cm \
+       broadcom/bcm2708-rpi-zero broadcom/bcm2708-rpi-zero-w
+else
   DEVICE_DTS := \
        bcm2708-rpi-b bcm2708-rpi-b-rev1 bcm2708-rpi-b-plus \
        bcm2708-rpi-cm \
        bcm2708-rpi-zero bcm2708-rpi-zero-w
+endif
   SUPPORTED_DEVICES := \
        rpi-b rpi-b-plus rpi-cm rpi-zero rpi-zero-w \
        raspberrypi,model-b raspberrypi,model-b-plus raspberrypi,model-b-rev2 \
@@ -99,12 +106,21 @@ define Device/rpi-2
   DEVICE_ALT1_VENDOR := Raspberry Pi
   DEVICE_ALT1_MODEL := 4B/400/CM4
   DEVICE_ALT1_VARIANT := (32bit)
+ifdef CONFIG_LINUX_6_6
+  DEVICE_DTS := \
+       broadcom/bcm2709-rpi-2-b broadcom/bcm2710-rpi-2-b \
+       broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus \
+       broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 \
+       broadcom/bcm2710-rpi-cm3 broadcom/bcm2711-rpi-cm4 \
+       broadcom/bcm2710-rpi-zero-2
+else
   DEVICE_DTS := \
        bcm2709-rpi-2-b bcm2710-rpi-2-b \
        bcm2710-rpi-3-b bcm2710-rpi-3-b-plus \
        bcm2711-rpi-4-b bcm2711-rpi-400 \
        bcm2710-rpi-cm3 bcm2711-rpi-cm4 \
        bcm2710-rpi-zero-2
+endif
   SUPPORTED_DEVICES := \
        rpi-2-b rpi-3-b rpi-3-b-plus rpi-cm rpi-zero-2 \
        raspberrypi,2-model-b raspberrypi,2-model-b-rev2 \