diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-12-01 16:37:00 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-04 10:15:00 +0000 |
commit | a09c2e1624dca5f45cfc7ea9520ef740c981e7f2 (patch) | |
tree | 522fcd00a0f70e6afdb503b38080d9eaa6ccbd82 /src/ec/lenovo | |
parent | 44d2c8541ad13a715249ba976646d4fa1416f4cb (diff) |
soc/sifive/fu540: Load PLL settings from a struct
The different PLLs in the fu540 use the same register layout, so use one
function (configure_pll) to program a PLL and wait for it to lock. This
also makes it possible to dynamically calculate the PLL settings later.
TEST=Boot until "Payload not loaded" on HiFive Unleashed
Change-Id: I5c0cee886bad5758c70f967d2bb998c1e1a736ab
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/c/29356
Reviewed-by: Philipp Hug <philipp@hug.cx>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/lenovo')
0 files changed, 0 insertions, 0 deletions