coreboot/src/soc
Shelley Chen 420ba8b708 soc/qualcomm/common: Make clock_configure() check for exact matches
Previously, clock_configure() will configure the clocks to round up to
the next highest frequency bin.  This seems non-intuitive.  Changing
the logic to find an exact frequency match and will halt booting if no
match is found.  Recently fixed a bug in CB:63311, where the clock was
being set incorrectly for emmc and was able to find it because of this
stricter check.

BUG=b:198627043
BRANCH=None
TEST=build herobrine image and try to set SPI frequency to number not
     supported.  Ensure device doesn't boot.

Change-Id: I9cfad7236241f4d03ff1a56683654649658b68fc
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63289
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <patrick@coreboot.org>
2022-04-14 14:05:04 +00:00
..
amd soc/amd/cezanne/fw.cfg: provide default SPL table binary 2022-04-03 17:07:08 +00:00
cavium i2c: Add configurable I2C transfer timeout 2022-03-15 22:06:27 +00:00
example Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
intel soc/intel/cmn/xhci: Add function to reset the XHCI controller 2022-04-13 21:28:59 +00:00
mediatek soc/mediatek/mt8186: Disable unused power 2022-04-07 14:43:36 +00:00
nvidia Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
qualcomm soc/qualcomm/common: Make clock_configure() check for exact matches 2022-04-14 14:05:04 +00:00
rockchip i2c: Add configurable I2C transfer timeout 2022-03-15 22:06:27 +00:00
samsung i2c: Add configurable I2C transfer timeout 2022-03-15 22:06:27 +00:00
sifive src/soc to src/superio: Fix spelling errors 2021-10-05 18:07:08 +00:00
ti treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
ucb