Shelley Chen uploaded patch set #4 to this change.
soc/qualcomm/common: Add strict flag to clock_configure()
When strict parameter is set to true, clock_configure() will try to
find an exact match to the clock frequency given. If exact match
cannot be found, then will throw an assertion error.
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>
---
M src/soc/qualcomm/common/clock.c
M src/soc/qualcomm/common/include/soc/clock_common.h
M src/soc/qualcomm/sc7180/clock.c
M src/soc/qualcomm/sc7280/clock.c
4 files changed, 30 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/63289/4
To view, visit change 63289. To unsubscribe, or for help writing mail filters, visit settings.