uboot-airoha: enable OF_LIBFDT_OVERLAY support

Enable CONFIG_OF_LIBFDT_OVERLAY for the AN7581 and AN7583
EVB defconfigs to support loading and applying device tree
overlays at boot time.

Signed-off-by: Yalei Zang <yalei.zang@airoha.com>
Link: https://github.com/openwrt/openwrt/pull/24926
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Yalei Zang authored and Christian Marangi committed 2026-10-16 09:30:39 +02:00
1 parent 89381af998
commit 934b7221bd
1 file changed
+36
@@ -0,0 +1,36 @@
From 5bcd75ef87382aa13e4044b30f160291e8fa947e Mon Sep 17 00:00:00 2001
From: YaleiZang <yalei.zang@airoha.com>
Date: Mon, 8 Jun 2026 20:12:49 +0800
Subject: [PATCH] airoha: enable OF_LIBFDT_OVERLAY support for 7581/7583
Enable CONFIG_OF_LIBFDT_OVERLAY to allow loading and applying device tree overlays
at boot time. This is necessary for systems requiring flexible hardware description
via DT overlay, such as dynamic board variants or runtime configurable peripherals.
Signed-off-by: YaleiZang <yalei.zang@airoha.com>
---
configs/an7581_evb_defconfig | 1 +
configs/an7583_evb_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/an7581_evb_defconfig b/configs/an7581_evb_defconfig
index be076ec7..d0058d31 100644
--- a/configs/an7581_evb_defconfig
+++ b/configs/an7581_evb_defconfig
@@ -103,3 +103,4 @@ CONFIG_UBI_BLOCK=y
CONFIG_ENV_USE_DEFAULT_ENV_TEXT_FILE=y
CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="defenvs/an7581_rfb_env"
CONFIG_SHA512=y
+CONFIG_OF_LIBFDT_OVERLAY=y
diff --git a/configs/an7583_evb_defconfig b/configs/an7583_evb_defconfig
index 7ef2d6fe..a97c0cc5 100644
--- a/configs/an7583_evb_defconfig
+++ b/configs/an7583_evb_defconfig
@@ -102,3 +102,4 @@ CONFIG_UBI_BLOCK=y
CONFIG_ENV_USE_DEFAULT_ENV_TEXT_FILE=y
CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="defenvs/an7583_rfb_env"
CONFIG_SHA512=y
+CONFIG_OF_LIBFDT_OVERLAY=y
--
2.43.0