summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2021-05-20 08:58:55 +0200
committerDan Andresan <Dan.Andresan@enea.com>2021-05-25 14:25:51 +0200
commit6eecf97379301a4e9ceca007c527d99c282dc4d3 (patch)
tree9556ef78a83c0a888f3d717318813a9747f1cede
parent05fbfb52d5322785b2ff604481f07cc9adb67cd7 (diff)
downloadenea-kernel-cache-6eecf97379301a4e9ceca007c527d99c282dc4d3.tar.gz
igb: allow to build IGB as module
Change-Id: I232b2262db4b2fb3478a3ca15088d1c78d157069 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
-rw-r--r--features/i2csupport/i2c_m.cfg9
-rw-r--r--features/i2csupport/i2c_m.scc5
-rw-r--r--features/i2csupport/i2csupport_n.cfg1
-rw-r--r--features/ixgbe/igb_m.cfg2
-rw-r--r--features/ixgbe/igb_m.scc5
-rw-r--r--features/tpm/tpm_m.cfg4
-rw-r--r--features/tpm/tpm_m.scc5
7 files changed, 30 insertions, 1 deletions
diff --git a/features/i2csupport/i2c_m.cfg b/features/i2csupport/i2c_m.cfg
new file mode 100644
index 0000000..68323b4
--- /dev/null
+++ b/features/i2csupport/i2c_m.cfg
@@ -0,0 +1,9 @@
1CONFIG_I2C=m
2CONFIG_I2C_SMBUS=m
3CONFIG_I2C_BOARDINFO=y
4CONFIG_I2C_ALGOBIT=m
5CONFIG_RTC_I2C_AND_SPI=m
6CONFIG_I2C_MUX=m
7CONFIG_I2C_I801=m
8CONFIG_I2C_DESIGNWARE_CORE=m
9CONFIG_I2C_DESIGNWARE_PLATFORM=m
diff --git a/features/i2csupport/i2c_m.scc b/features/i2csupport/i2c_m.scc
new file mode 100644
index 0000000..6ec7e80
--- /dev/null
+++ b/features/i2csupport/i2c_m.scc
@@ -0,0 +1,5 @@
1# SPDX-License-Identifier: MIT
2define KFEATURE_DESCRIPTION "I2C as modules"
3define KFEATURE_COMPATIBILITY board
4
5kconf hardware i2c_m.cfg
diff --git a/features/i2csupport/i2csupport_n.cfg b/features/i2csupport/i2csupport_n.cfg
index 30c4a3e..2204808 100644
--- a/features/i2csupport/i2csupport_n.cfg
+++ b/features/i2csupport/i2csupport_n.cfg
@@ -60,7 +60,6 @@ CONFIG_I2C_I801=n
60# External I2C/SMBus adapter drivers 60# External I2C/SMBus adapter drivers
61# 61#
62# CONFIG_I2C_DIOLAN_U2C is not set 62# CONFIG_I2C_DIOLAN_U2C is not set
63# CONFIG_I2C_PARPORT_LIGHT is not set
64# CONFIG_I2C_ROBOTFUZZ_OSIF is not set 63# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
65# CONFIG_I2C_TAOS_EVM is not set 64# CONFIG_I2C_TAOS_EVM is not set
66# CONFIG_I2C_TINY_USB is not set 65# CONFIG_I2C_TINY_USB is not set
diff --git a/features/ixgbe/igb_m.cfg b/features/ixgbe/igb_m.cfg
new file mode 100644
index 0000000..89216c9
--- /dev/null
+++ b/features/ixgbe/igb_m.cfg
@@ -0,0 +1,2 @@
1CONFIG_IGB=m
2CONFIG_IGBVF=m
diff --git a/features/ixgbe/igb_m.scc b/features/ixgbe/igb_m.scc
new file mode 100644
index 0000000..605408f
--- /dev/null
+++ b/features/ixgbe/igb_m.scc
@@ -0,0 +1,5 @@
1# SPDX-License-Identifier: MIT
2define KFEATURE_DESCRIPTION "Intel Gigabit functionality as modules"
3define KFEATURE_COMPATIBILITY board
4
5kconf hardware igb_m.cfg
diff --git a/features/tpm/tpm_m.cfg b/features/tpm/tpm_m.cfg
new file mode 100644
index 0000000..f3b99c8
--- /dev/null
+++ b/features/tpm/tpm_m.cfg
@@ -0,0 +1,4 @@
1CONFIG_TCG_TIS_I2C_ATMEL=m
2CONFIG_TCG_TIS_I2C_INFINEON=m
3CONFIG_TCG_TIS_I2C_NUVOTON=m
4CONFIG_TCG_TIS_ST33ZP24_I2C=m
diff --git a/features/tpm/tpm_m.scc b/features/tpm/tpm_m.scc
new file mode 100644
index 0000000..3c22d07
--- /dev/null
+++ b/features/tpm/tpm_m.scc
@@ -0,0 +1,5 @@
1# SPDX-License-Identifier: MIT
2define KFEATURE_DESCRIPTION "Enable TCG TPM driver (Trusted Computing Group Trusted Platform Module)"
3define KFEATURE_COMPATIBILITY board
4
5kconf hardware tpm_m.cfg