Skip to content

Commit 84e24aa

Browse files
machines: replace Intel-SCH config-aggregator kernel patches with direct configs
Nine x86 platforms (the Dell C2xxx/S-series family + agema_ag7648c) each carried a kernel patch whose sole purpose was to add a platform Kconfig symbol that select()ed a fixed set of standard Intel SoC options (I2C_ISCH, I2C_ISMT, GPIO_SCH, MFD_CORE, LPC_SCH) with no driver code. Replace each with those CONFIG_* set directly in the machine kernel config and drop the patch. The aggregator was each platform's only kernel patch, so with it gone they carry no version-bound kernel code: drop their LINUX_VERSION pins too and let them ride the default kernel (6.18 LTS, which builds under GCC 14). The five options were verified to survive `make olddefconfig` against the 6.18 base config. Signed-off-by: Brad House <bhouse@nexthop.ai>
1 parent 8e80bcf commit 84e24aa

36 files changed

Lines changed: 45 additions & 277 deletions
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
CONFIG_AGEMA_AG7648C=y
1+
CONFIG_I2C_ISCH=y
2+
CONFIG_I2C_ISMT=y
3+
CONFIG_GPIO_SCH=y
4+
CONFIG_MFD_CORE=y
5+
CONFIG_LPC_SCH=y

machine/agema/agema_ag7648c/kernel/platform-agema-ag7648c.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
platform-agema-ag7648c.patch

machine/agema/agema_ag7648c/machine.make

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ CONSOLE_FLAG = 0
3131

3232
EXTRA_CMDLINE_LINUX = i2c-ismt.bus_speed=100 acpi=off dhcp=eth0
3333

34-
# Set Linux kernel version
35-
LINUX_VERSION = 3.2
36-
LINUX_MINOR_VERSION = 69
3734

3835

3936
#-------------------------------------------------------------------------------
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
CONFIG_DELL_S3000_C2338=y
1+
CONFIG_I2C_ISCH=y
2+
CONFIG_I2C_ISMT=y
3+
CONFIG_GPIO_SCH=y
4+
CONFIG_MFD_CORE=y
5+
CONFIG_LPC_SCH=y

machine/dell/dell_s3000_c2338/kernel/platform-dell-s3000-c2338.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
platform-dell-s3000-c2338.patch

machine/dell/dell_s3000_c2338/machine.make

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ CONSOLE_FLAG = 0
3131

3232
EXTRA_CMDLINE_LINUX = i2c-ismt.bus_speed=100
3333

34-
# Set Linux kernel version
35-
LINUX_VERSION = 3.2
36-
LINUX_MINOR_VERSION = 69
3734

3835

3936
#-------------------------------------------------------------------------------
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
CONFIG_DELL_S4000_C2338=y
1+
CONFIG_I2C_ISCH=y
2+
CONFIG_I2C_ISMT=y
3+
CONFIG_GPIO_SCH=y
4+
CONFIG_MFD_CORE=y
5+
CONFIG_LPC_SCH=y

machine/dell/dell_s4000_c2338/kernel/platform-dell-s4000-c2338.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)