From: Javier Martinez Canillas <javierm(a)redhat.com>
fedora: Switch TI_SCI_CLK and TI_SCI_PM_DOMAINS symbols to built-in
These two are currently built as a module, but this prevents the K3 AM6xx
boards to boot. For example, an AM625 BeaglePlay hangs on boot after this:
## Flattened Device Tree blob at ffb0e8e0
Booting using the fdt blob at 0xffb0e8e0
Working FDT set to ffb0e8e0
Loading Ramdisk to 8bcb0000, end 8ffff195 ... OK
Loading Device Tree to 000000008bc9c000, end 000000008bcaf4a7 ... OK
Working FDT set to 8bc9c000
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
With these two symbols built-in the board continues with the boot process.
Reported-by: Enric Balletbo i Serra <eballetbo(a)redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm(a)redhat.com>
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_CLK
b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_CLK
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_CLK
+++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_CLK
@@ -1 +1 @@
-CONFIG_TI_SCI_CLK=m
+CONFIG_TI_SCI_CLK=y
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_PM_DOMAINS
b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_PM_DOMAINS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_PM_DOMAINS
+++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_TI_SCI_PM_DOMAINS
@@ -1 +1 @@
-CONFIG_TI_SCI_PM_DOMAINS=m
+CONFIG_TI_SCI_PM_DOMAINS=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2727