diff options
author | Julius Werner <jwerner@chromium.org> | 2016-12-16 16:03:57 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-01-03 22:13:45 +0100 |
commit | 7e1f68c4376b7d6714829cda2e69da4bcd8de2fa (patch) | |
tree | 4d8b928113d691b92a930ffc64f3fdfcb815a9db /src/vboot/secdata_mock.c | |
parent | a69ac7861b03e438e62c57992c30d9c42996c56b (diff) |
rockchip/common: Loosen I2C frequency target requirements
I've recently added an assertion to ensure that the effective I2C
frequency on Rockchip SoCs is not too far off the 400KHz target due to
divisor rounding errors. A 10KHz margin worked fine for RK3399, but it
turns out that RK3288 actually only ever hit 387KHz since its I2C clocks
are based off the already pretty low 75MHz PCLKs. While we could
probably change the PCLKs to make this closer, that seems like a too
intrusive change for something that has already worked just fine for
years, so just loosen the restriction a little more instead.
BRANCH=None
BUG=chromium:675043
TEST=None
Change-Id: I7e96a1a75b38f8ad3971dd33046699cceb17b80d
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/421095
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://review.coreboot.org/18007
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vboot/secdata_mock.c')
0 files changed, 0 insertions, 0 deletions