Skip to content
Snippets Groups Projects
Commit a8535c30 authored by Marek Vasut's avatar Marek Vasut
Browse files

arm: socfpga: Fix delay in freeze controller


Based on observation, this udelay(20) was apparently too high and caused
subsequent failure to calibrate DDR when U-Boot was compiled with certain
toolchains. Lowering this delay fixed the problem.

Instead of permanently lowering the delay, calculate the correct delay
based on the original comment, that is, obtain EOSC1 frequency and use
it to calculate the precise delay.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
parent 35e47b71
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment