coreboot/src/commonlib
Angel Pons a6c8b4becb 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>
2020-03-26 09:38:42 +00:00
..
bsd lz4: Fix out-of-bounds reads 2020-03-02 15:03:03 +00:00
include/commonlib nb/intel/sandybridge: Rewrite get_FRQ 2020-03-26 09:38:42 +00:00
storage src/commonlib: Fix typos 2020-02-24 13:01:48 +00:00
cbfs.c commonlib/cbfs.c: Remove unused macro 2020-03-11 14:36:45 +00:00
fsp_relocate.c commonlib/fsp_relocate: Fix typos 2019-12-19 17:50:22 +00:00
iobuf.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00
Makefile.inc commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
mem_pool.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00
region.c region: publicize region_end() and add region_device_end() 2019-11-11 10:28:09 +00:00
sort.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00