ipq807x: rename target to qualcommax
Currently, ipq807x only covers Qualcomm IPQ807x SoC-s. However, Qualcomm also has IPQ60xx and IPQ50xx SoC-s under the AX WiSoC-s and they share a lot of stuff with IPQ807x, especially IPQ60xx so to avoid duplicating kernel patches and everything lets make a common target with per SoC subtargets. Start doing that by renaming ipq807x to qualcommax so that dependencies on ipq807x target can be updated. Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Christian Marangi
					
				
			
			
				
	
			
			
			
						parent
						
							de9955a62f
						
					
				
				
					commit
					f02f6aaa8d
				
			
							
								
								
									
										4
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
								
							@@ -41,8 +41,8 @@
 | 
			
		||||
  - "target/linux/ipq40xx/**"
 | 
			
		||||
"target/ipq806x":
 | 
			
		||||
  - "target/linux/ipq806x/**"
 | 
			
		||||
"target/ipq807x":
 | 
			
		||||
  - "target/linux/ipq807x/**"
 | 
			
		||||
"target/qualcommax":
 | 
			
		||||
  - "target/linux/qualcommax/**"
 | 
			
		||||
"target/kirkwood":
 | 
			
		||||
  - "target/linux/kirkwood/**"
 | 
			
		||||
  - "package/boot/uboot-kirkwood/**"
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@ menu "Target Images"
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_lantiq
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_ZSTD if TARGET_ipq807x
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_ZSTD if TARGET_qualcommax
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_XZ if USES_SEPARATE_INITRAMFS
 | 
			
		||||
			default TARGET_INITRAMFS_COMPRESSION_NONE
 | 
			
		||||
			depends on TARGET_ROOTFS_INITRAMFS
 | 
			
		||||
 
 | 
			
		||||
@@ -48,7 +48,7 @@ define Package/ipq-wifi-default
 | 
			
		||||
  SUBMENU:=ath10k Board-Specific Overrides
 | 
			
		||||
  SECTION:=firmware
 | 
			
		||||
  CATEGORY:=Firmware
 | 
			
		||||
  DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_ipq807x)
 | 
			
		||||
  DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_qualcommax)
 | 
			
		||||
  TITLE:=Custom Board
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1511,7 +1511,7 @@ $(eval $(call KernelPackage,qrtr-tun))
 | 
			
		||||
define KernelPackage/qrtr-smd
 | 
			
		||||
  SUBMENU:=$(NETWORK_SUPPORT_MENU)
 | 
			
		||||
  TITLE:=SMD IPC Router channels
 | 
			
		||||
  DEPENDS:=+kmod-qrtr @TARGET_ipq807x
 | 
			
		||||
  DEPENDS:=+kmod-qrtr @TARGET_qualcommax
 | 
			
		||||
  KCONFIG:=CONFIG_QRTR_SMD
 | 
			
		||||
  FILES:= $(LINUX_DIR)/net/qrtr/qrtr-smd.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoProbe,qrtr-smd)
 | 
			
		||||
 
 | 
			
		||||
@@ -483,7 +483,7 @@ $(eval $(call KernelPackage,usb-dwc3))
 | 
			
		||||
 | 
			
		||||
define KernelPackage/usb-dwc3-qcom
 | 
			
		||||
  TITLE:=DWC3 Qualcomm USB driver
 | 
			
		||||
  DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_ipq807x) +kmod-usb-dwc3
 | 
			
		||||
  DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_qualcommax) +kmod-usb-dwc3
 | 
			
		||||
  KCONFIG:= CONFIG_USB_DWC3_QCOM
 | 
			
		||||
  FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom,1)
 | 
			
		||||
 
 | 
			
		||||
@@ -317,7 +317,7 @@ define KernelPackage/ath11k/config
 | 
			
		||||
       config ATH11K_THERMAL
 | 
			
		||||
               bool "Enable thermal sensors and throttling support"
 | 
			
		||||
               depends on PACKAGE_kmod-ath11k
 | 
			
		||||
               default y if TARGET_ipq807x
 | 
			
		||||
               default y if TARGET_qualcommax
 | 
			
		||||
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
@@ -325,7 +325,7 @@ define KernelPackage/ath11k-ahb
 | 
			
		||||
  $(call KernelPackage/mac80211/Default)
 | 
			
		||||
  TITLE:=Qualcomm 802.11ax AHB wireless chipset support
 | 
			
		||||
  URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
 | 
			
		||||
  DEPENDS+= @TARGET_ipq807x +kmod-ath11k +kmod-qrtr-smd
 | 
			
		||||
  DEPENDS+= @TARGET_qualcommax +kmod-ath11k +kmod-qrtr-smd
 | 
			
		||||
  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k_ahb.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoProbe,ath11k_ahb)
 | 
			
		||||
endef
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@ define KernelPackage/qca-nss-dp
 | 
			
		||||
  SECTION:=kernel
 | 
			
		||||
  CATEGORY:=Kernel modules
 | 
			
		||||
  SUBMENU:=Network Devices
 | 
			
		||||
  DEPENDS:=@TARGET_ipq807x +kmod-qca-ssdk
 | 
			
		||||
  DEPENDS:=@TARGET_qualcommax +kmod-qca-ssdk
 | 
			
		||||
  TITLE:=Qualcom NSS dataplane ethernet driver
 | 
			
		||||
  FILES:=$(PKG_BUILD_DIR)/qca-nss-dp.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoLoad,31,qca-nss-dp,1)
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ define KernelPackage/qca-ssdk
 | 
			
		||||
  CATEGORY:=Kernel modules
 | 
			
		||||
  SUBMENU:=Network Devices
 | 
			
		||||
  TITLE:=Qualcom SSDK switch driver
 | 
			
		||||
  DEPENDS:=@(TARGET_ipq807x)
 | 
			
		||||
  DEPENDS:=@(TARGET_qualcommax)
 | 
			
		||||
  FILES:=$(PKG_BUILD_DIR)/build/bin/qca-ssdk.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoLoad,30,qca-ssdk)
 | 
			
		||||
endef
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
include $(TOPDIR)/rules.mk
 | 
			
		||||
 | 
			
		||||
ARCH:=aarch64
 | 
			
		||||
BOARD:=ipq807x
 | 
			
		||||
BOARDNAME:=Qualcomm Atheros IPQ807x
 | 
			
		||||
BOARD:=qualcommax
 | 
			
		||||
BOARDNAME:=Qualcomm Atheros 802.11ax WiSoC-s
 | 
			
		||||
FEATURES:=squashfs ramdisk fpu nand rtc emmc
 | 
			
		||||
KERNELNAME:=Image dtbs
 | 
			
		||||
CPU_TYPE:=cortex-a53
 | 
			
		||||
		Reference in New Issue
	
	Block a user