Bläddra i källkod

omap: adapt to the new dts directory layout.

.dts files were moved to the 'ti/omap' sub-directory.

Signed-off-by: Andre Heider <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16099
Signed-off-by: Hauke Mehrtens <[email protected]>
Andre Heider 1 år sedan
förälder
incheckning
4927d0f285

+ 3 - 0
target/linux/omap/image/Makefile

@@ -33,6 +33,9 @@ define Device/Default
   PROFILES := Default
   KERNEL_NAME := zImage
   KERNEL := kernel-bin
+  ifdef CONFIG_LINUX_6_6
+  DTS_DIR := $(DTS_DIR)/ti/omap
+  endif
   DEVICE_DTS = $(lastword $(subst _, ,$(1)))
   IMAGES := sdcard.img.gz
   IMAGE/sdcard.img.gz := omap-sdcard | append-metadata | gzip

+ 5 - 5
target/linux/omap/patches-6.6/900-use-cpsw-ethernet-driver.patch

@@ -17,9 +17,9 @@ devices in OpenWrt usable again with the default network config.)
 Signed-off-by: Jan Hoffmann <[email protected]>
 ---
 
---- a/arch/arm/boot/dts/am335x-bone-common.dtsi
-+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
-@@ -353,27 +353,24 @@
+--- a/arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi
++++ b/arch/arm/boot/dts/ti/omap/am335x-bone-common.dtsi
+@@ -358,27 +358,24 @@
  	};
  };
  
@@ -52,8 +52,8 @@ Signed-off-by: Jan Hoffmann <[email protected]>
  
  	ethphy0: ethernet-phy@0 {
  		reg = <0>;
---- a/arch/arm/boot/dts/am335x-evm.dts
-+++ b/arch/arm/boot/dts/am335x-evm.dts
+--- a/arch/arm/boot/dts/ti/omap/am335x-evm.dts
++++ b/arch/arm/boot/dts/ti/omap/am335x-evm.dts
 @@ -682,31 +682,28 @@
  	};
  };