[PATCH 3/9] kernel/x86: move Geode HW random from generic to geode

Elliott Mitchell ehem+openwrt at m5p.com
Wed Apr 19 14:07:47 PDT 2023


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 at m5p.com>
---
 target/linux/x86/config-5.10       | 1 -
 target/linux/x86/config-5.15       | 1 -
 target/linux/x86/geode/config-5.10 | 2 ++
 target/linux/x86/geode/config-5.15 | 2 ++
 4 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10
index 1a2f0d653a..cfd580b282 100644
--- a/target/linux/x86/config-5.10
+++ b/target/linux/x86/config-5.10
@@ -156,7 +156,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-5.15 b/target/linux/x86/config-5.15
index 715090977b..acfaa0e4b7 100644
--- a/target/linux/x86/config-5.15
+++ b/target/linux/x86/config-5.15
@@ -157,7 +157,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/geode/config-5.10 b/target/linux/x86/geode/config-5.10
index 579f316914..dc2ac4454b 100644
--- a/target/linux/x86/geode/config-5.10
+++ b/target/linux/x86/geode/config-5.10
@@ -49,6 +49,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=n
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALGOPCA=y
diff --git a/target/linux/x86/geode/config-5.15 b/target/linux/x86/geode/config-5.15
index 2ede23ea5e..2a8db278b3 100644
--- a/target/linux/x86/geode/config-5.15
+++ b/target/linux/x86/geode/config-5.15
@@ -53,6 +53,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=n
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALGOPCA=y
-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |       ehem+openwrt at m5p.com     PGP 87145445       |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445






More information about the openwrt-devel mailing list