diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-03-23 22:38:08 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-26 09:38:42 +0000 |
commit | a6c8b4becbd12fe6043557ca1e398c1a7c691007 (patch) | |
tree | 688e3890a402661caacd8f3e61e8df63aabc9cee /src/northbridge/intel/e7505 | |
parent | 2a0a02f98f742ff921ac3a9a8ccbf7fe47690509 (diff) |
nb/intel/sandybridge: Rewrite get_FRQ
The code is just clamping the frequency index to a valid range. Do it
with a helper function. Also, add a CPUID check, as Sandy Bridge will
eventually use this code.
Change-Id: I4c7aa5f7615c6edb1ab62fb004abb126df9d284b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39787
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/northbridge/intel/e7505')
0 files changed, 0 insertions, 0 deletions