From: Andre Heider Date: Sun, 4 Aug 2024 14:10:49 +0000 (+0200) Subject: omap: adapt to the new dts directory layout. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4927d0f2850efb711fd8f0e96f48869d270a6fc5;p=openwrt%2Fstaging%2Fansuel.git omap: adapt to the new dts directory layout. .dts files were moved to the 'ti/omap' sub-directory. Signed-off-by: Andre Heider Link: https://github.com/openwrt/openwrt/pull/16099 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile index 507c91b2cc..3d8c8a2f17 100644 --- a/target/linux/omap/image/Makefile +++ b/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 diff --git a/target/linux/omap/patches-6.6/900-use-cpsw-ethernet-driver.patch b/target/linux/omap/patches-6.6/900-use-cpsw-ethernet-driver.patch index 17c07fbdfb..31fa0028c6 100644 --- a/target/linux/omap/patches-6.6/900-use-cpsw-ethernet-driver.patch +++ b/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 --- ---- 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 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 @@ }; };