From: Alaa Hleihel <ahleihel(a)redhat.com>
redhat/configs: Enable needed drivers for BlueField SoC on aarch64
Enable the needed configs on aarch64 for enabling the following
on BlueField SoC:
- TmFifo driver to provide console and network access to the external host.
- bootctl platform driver to provide the ability to query secure state
and control the eMMC boot partition swapping by sending SMC calls to
ATF running at EL3.
- ipmb-dev-int driver and it's dependencies for supporting receiving IPMB
requests on a Satellite MC from the BMC. Once a response is ready, this
driver will send back a response to the BMC via the IPMB channel.
Bugzilla:
http://bugzilla.redhat.com/1858592
Bugzilla:
http://bugzilla.redhat.com/1858594
Bugzilla:
http://bugzilla.redhat.com/1858596
Upstream: RHEL-only
Signed-off-by: Alaa Hleihel <ahleihel(a)redhat.com>
diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_SENSORS_JC42
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_SENSORS_JC42
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/arm/aarch64/CONFIG_SENSORS_JC42
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_SENSORS_JC42 is not set
diff --git a/redhat/configs/ark/generic/CONFIG_EEPROM_AT24
b/redhat/configs/common/generic/CONFIG_EEPROM_AT24
rename from redhat/configs/ark/generic/CONFIG_EEPROM_AT24
rename to redhat/configs/common/generic/CONFIG_EEPROM_AT24
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_EEPROM_AT24
+++ b/redhat/configs/common/generic/CONFIG_EEPROM_AT24
diff --git a/redhat/configs/ark/generic/CONFIG_EEPROM_EE1004
b/redhat/configs/common/generic/CONFIG_EEPROM_EE1004
rename from redhat/configs/ark/generic/CONFIG_EEPROM_EE1004
rename to redhat/configs/common/generic/CONFIG_EEPROM_EE1004
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_EEPROM_EE1004
+++ b/redhat/configs/common/generic/CONFIG_EEPROM_EE1004
diff --git a/redhat/configs/ark/generic/CONFIG_MLXBF_TMFIFO
b/redhat/configs/common/generic/CONFIG_MLXBF_TMFIFO
rename from redhat/configs/ark/generic/CONFIG_MLXBF_TMFIFO
rename to redhat/configs/common/generic/CONFIG_MLXBF_TMFIFO
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_MLXBF_TMFIFO
+++ b/redhat/configs/common/generic/CONFIG_MLXBF_TMFIFO
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_EEPROM_AT24
b/redhat/configs/common/generic/arm/aarch64/CONFIG_EEPROM_AT24
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_EEPROM_AT24
@@ -0,0 +1 @@
+CONFIG_EEPROM_AT24=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_EEPROM_EE1004
b/redhat/configs/common/generic/arm/aarch64/CONFIG_EEPROM_EE1004
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_EEPROM_EE1004
@@ -0,0 +1 @@
+CONFIG_EEPROM_EE1004=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_IPMB_DEVICE_INTERFACE
b/redhat/configs/common/generic/arm/aarch64/CONFIG_IPMB_DEVICE_INTERFACE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_IPMB_DEVICE_INTERFACE
@@ -0,0 +1 @@
+CONFIG_IPMB_DEVICE_INTERFACE=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_BOOTCTL
b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_BOOTCTL
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_BOOTCTL
@@ -0,0 +1 @@
+CONFIG_MLXBF_BOOTCTL=m
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MLXBF_TMFIFO
b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_TMFIFO
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_MLXBF_TMFIFO
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_TMFIFO
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MLXBF_TMFIFO
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_MLXBF_TMFIFO
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1178