From 71fe77deb6bf9396c951b456678335f42b2442be Mon Sep 17 00:00:00 2001
From: =?utf8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr>
Date: Wed, 25 Dec 2024 12:19:07 +0100
Subject: [PATCH] move OF_CONTROL to Kconfig

---
 arch/arm/Kconfig                 | 1 +
 configs/coreprimevelte_defconfig | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9ab2beb82c..c19fbf5963 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -846,6 +846,7 @@ config ARCH_MMP
 	select ARM64
 	select DM
 	select DM_SERIAL
+	select OF_CONTROL
 	select SAVE_PREV_BL_FDT_ADDR
 
 config ARCH_LPC32XX
diff --git a/configs/coreprimevelte_defconfig b/configs/coreprimevelte_defconfig
index 7678e24886..85ca3b1f8d 100644
--- a/configs/coreprimevelte_defconfig
+++ b/configs/coreprimevelte_defconfig
@@ -19,7 +19,6 @@ CONFIG_LOGF_FILE=y
 CONFIG_LOGF_LINE=y
 CONFIG_LOGF_FUNC=y
 # CONFIG_DISPLAY_CPUINFO is not set
-CONFIG_OF_CONTROL=y
 CONFIG_OF_BOARD=y
 CONFIG_NO_NET=y
 CONFIG_CLK=y
-- 
2.39.5