diff options
author | Nico Huber <nico.h@gmx.de> | 2021-03-28 18:07:00 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-04-12 20:42:08 +0000 |
commit | 2bb361f0f5151f0cbf0bfcde085c05ca38c42de9 (patch) | |
tree | 32dd8edf87dad489351bf89375865b072a607e53 /src/drivers/intel | |
parent | a20a02e82af541fa1e2fd34b73d42d3f2c2d9c1e (diff) |
nb/intel/x4x: Refactor sync DLL programming (part 2)
Instead of counting consecutive matches (in `j`), check for a second
match directly in the control flow. Also, add some dedicated variables:
* `tap`: Keeps track of the tap value that resulted in a match and
is eventually programmed into the hardware.
* `tap2`: Is just temporarily used to search for another edge.
Keeping `tap` sync'ed with the hardware has the benefit that we don't
need to read the programmed value back for later fixups.
Change-Id: I3ae541c39efdc695f5ca74bc757b2f009239ec93
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/drivers/intel')
0 files changed, 0 insertions, 0 deletions