coreboot-kgpe-d16/src/soc
Lean Sheng Tan bed1b602d0 soc/intel/common: Refine pmc_get_xtal_freq function
1. Remove 'PCH_EPOC_XTAL_FREQ(__epoc)' macro since it only be used
   in 1 place.

2. Transform macro into more readable C code.

3. Add additional case check to make sure the returned value is
   defined in the 'pch_pmc_xtal' enum.

Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com>
Change-Id: If57a99bf8e837a6eb8f225297399b1f5363cfa85
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55587
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-06-30 07:35:09 +00:00
..
amd src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
cavium
example src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
intel soc/intel/common: Refine pmc_get_xtal_freq function 2021-06-30 07:35:09 +00:00
mediatek soc/mediatek/mt8195: Utilize the retry macro 2021-06-26 10:09:20 +00:00
nvidia cbfs: Replace more instances of cbfs_boot_locate() with newer APIs 2021-03-17 08:10:20 +00:00
qualcomm sc7280: Add target specific GPIO pin definitions 2021-06-11 07:36:16 +00:00
rockchip
samsung commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
sifive
ti soc/ti/am335x/mmc.c: Fix memset length argument 2021-04-04 09:58:26 +00:00
ucb