From 437fa09673d29e1ea8a26b0c3f65f25b7f4966f3 Mon Sep 17 00:00:00 2001
From: Enrico Leto <enrico.leto@siemens.com>
Date: Wed, 8 Nov 2023 15:53:22 +0100
Subject: [PATCH] configs: draco: restore clock driver

Fix 'failed to get fck clock' error on boot. Add missing configs.

Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
---
 configs/draco-etamin_defconfig   | 2 ++
 configs/draco-rastaban_defconfig | 2 ++
 configs/draco-thuban_defconfig   | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/configs/draco-etamin_defconfig b/configs/draco-etamin_defconfig
index f929fe153c..ef7c7c1a54 100644
--- a/configs/draco-etamin_defconfig
+++ b/configs/draco-etamin_defconfig
@@ -82,6 +82,8 @@ CONFIG_SPL_DM=y
 # CONFIG_SPL_BLK is not set
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
+CONFIG_CLK=y
+CONFIG_CLK_TI_CTRL=y
 CONFIG_DFU_NAND=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
 CONFIG_SYS_I2C_LEGACY=y
diff --git a/configs/draco-rastaban_defconfig b/configs/draco-rastaban_defconfig
index 0c1e5016d0..b293ed5ef7 100644
--- a/configs/draco-rastaban_defconfig
+++ b/configs/draco-rastaban_defconfig
@@ -80,6 +80,8 @@ CONFIG_SPL_DM=y
 # CONFIG_SPL_BLK is not set
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
+CONFIG_CLK=y
+CONFIG_CLK_TI_CTRL=y
 CONFIG_DFU_NAND=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
 CONFIG_SYS_I2C_LEGACY=y
diff --git a/configs/draco-thuban_defconfig b/configs/draco-thuban_defconfig
index 226c813f39..6c03732d4a 100644
--- a/configs/draco-thuban_defconfig
+++ b/configs/draco-thuban_defconfig
@@ -80,6 +80,8 @@ CONFIG_SPL_DM=y
 # CONFIG_SPL_BLK is not set
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
+CONFIG_CLK=y
+CONFIG_CLK_TI_CTRL=y
 CONFIG_DFU_NAND=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
 CONFIG_SYS_I2C_LEGACY=y
-- 
2.39.5