diff mbox series

[05/10] kernel/x86: move Geode HW random from generic to geode

Message ID a2ad456cfb372eb4c2518c451ef05b3c51e44c4b.1698621006.git.ehem+openwrt@m5p.com
State Superseded, archived
Headers show
Series Cleaning up x86 kernels | expand

Commit Message

Elliott Mitchell Oct. 30, 2023, 12:58 a.m. UTC
Quite reasonable to have support for the Geode HW random number
generator.  On the Geode kernel.

Support for the VIA HWRNG has been enabled in common.  Pull that
from the Geode kernel.

Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com> 04/2023
---
 target/linux/x86/config-5.15       | 1 -
 target/linux/x86/config-6.1        | 1 -
 target/linux/x86/geode/config-5.15 | 2 ++
 target/linux/x86/geode/config-6.1  | 2 ++
 4 files changed, 4 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15
index 57941a53bf..e1efc44fbe 100644
--- a/target/linux/x86/config-5.15
+++ b/target/linux/x86/config-5.15
@@ -158,7 +158,6 @@  CONFIG_HPET_EMULATE_RTC=y
 CONFIG_HPET_TIMER=y
 # CONFIG_HP_WATCHDOG is not set
 CONFIG_HW_CONSOLE=y
-CONFIG_HW_RANDOM_GEODE=y
 CONFIG_HW_RANDOM_VIA=y
 # CONFIG_HYPERVISOR_GUEST is not set
 CONFIG_HZ_PERIODIC=y
diff --git a/target/linux/x86/config-6.1 b/target/linux/x86/config-6.1
index 979bb400c1..17dbb5310b 100644
--- a/target/linux/x86/config-6.1
+++ b/target/linux/x86/config-6.1
@@ -167,7 +167,6 @@  CONFIG_HIGHPTE=y
 CONFIG_HPET_EMULATE_RTC=y
 CONFIG_HPET_TIMER=y
 CONFIG_HW_CONSOLE=y
-CONFIG_HW_RANDOM_GEODE=y
 CONFIG_HW_RANDOM_VIA=y
 # CONFIG_HYPERVISOR_GUEST is not set
 CONFIG_HZ_PERIODIC=y
diff --git a/target/linux/x86/geode/config-5.15 b/target/linux/x86/geode/config-5.15
index 0104b1e7b3..e47320db1b 100644
--- a/target/linux/x86/geode/config-5.15
+++ b/target/linux/x86/geode/config-5.15
@@ -52,6 +52,8 @@  CONFIG_GPIO_CS5535=y
 # CONFIG_HPET is not set
 # CONFIG_HP_ACCEL is not set
 CONFIG_HWMON=y
+CONFIG_HW_RANDOM_GEODE=y
+# CONFIG_HW_RANDOM_VIA is not set
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALGOPCA=y
diff --git a/target/linux/x86/geode/config-6.1 b/target/linux/x86/geode/config-6.1
index cf02d2b9b0..11be0d8da7 100644
--- a/target/linux/x86/geode/config-6.1
+++ b/target/linux/x86/geode/config-6.1
@@ -56,6 +56,8 @@  CONFIG_GPIO_CS5535=y
 # CONFIG_HPET is not set
 # CONFIG_HP_ACCEL is not set
 CONFIG_HWMON=y
+CONFIG_HW_RANDOM_GEODE=y
+# CONFIG_HW_RANDOM_VIA is not set
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALGOPCA=y