]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-airoha: use separate DTB for Nokia XG-040G-MD
authorRobert Marko <robert.marko@sartura.hr>
Sun, 9 Aug 2026 10:33:43 +0000 (12:33 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 9 Aug 2026 10:38:08 +0000 (12:38 +0200)
CONFIG_OF_EMBED is intended for debugging and is not recommended for
production devices. Remove it from the Nokia XG-040G-MD defconfig so
Kconfig selects CONFIG_OF_SEPARATE, consistent with the other Airoha
boards.

The existing default device tree and u-boot.bin build target ensure that
the separate DTB is built and appended to the deployable U-Boot image.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
package/boot/uboot-airoha/patches/401-add-nokia-xg-040g-md.patch

index a250813bfcd5ff70729bf0f271a5500074c494fa..4b91ea485991ad24c9c7ab44ae07901dcbe21aa1 100644 (file)
@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/configs/an7581_nokia_xg-040g-md_defconfig
-@@ -0,0 +1,134 @@
+@@ -0,0 +1,133 @@
 +CONFIG_ARM=y
 +CONFIG_ARCH_AIROHA=y
 +CONFIG_POSITION_INDEPENDENT=y
@@ -58,7 +58,6 @@
 +CONFIG_CMD_SMC=y
 +CONFIG_CMD_UBI=y
 +CONFIG_CMD_UBI_RENAME=y
-+CONFIG_OF_EMBED=y
 +CONFIG_ENV_OVERWRITE=y
 +CONFIG_ENV_IS_IN_UBI=y
 +CONFIG_ENV_REDUNDANT=y