diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-05-19 15:06:15 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-05-21 16:29:38 +0000 |
commit | 2683108188810d04a14c84eb48913978eb0e1851 (patch) | |
tree | 0a720738c7e0323b08cba6934d1d12aa9b163319 /src | |
parent | 59f3eb9a0704437412a4700dd75ca0b27723d187 (diff) |
soc/intel/apollolake: Hook up Legacy 8254 Timer
Hook Timer8254ClkSetting to `legacy_8254_timer` cmos option. If that
isn't set, fallback to the `USE_LEGACY_8254_TIMER` Kconfig option.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I4f91cc2c8f48e9da47399059386092314b631b08
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/apollolake/chip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 46fc904b6c..0458abd1d3 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -721,6 +721,10 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd) if (is_devfn_enabled(PCH_DEVFN_SATA)) silconfig->SataSalpSupport = !(cfg->DisableSataSalpSupport); + /* 8254 Timer */ + bool use_8254 = get_uint_option("legacy_8254_timer", CONFIG(USE_LEGACY_8254_TIMER)); + silconfig->Timer8254ClkSetting = use_8254; + mainboard_silicon_init_params(silconfig); } |