commit | 3dad5753e850e5dff45b60ce6ce516f052cab054 | [log] [tgz] |
---|---|---|
author | Paweł Anikiel <pan@semihalf.com> | Fri Jun 17 12:47:23 2022 +0200 |
committer | Tien Fong Chee <tien.fong.chee@intel.com> | Fri Jul 01 14:57:14 2022 +0800 |
tree | ba87cea14386800f12640ba8a03631f8f0d497c5 | |
parent | 2d445721f2d8f37a660dcc56ae6e64bfff484772 [diff] |
socfpga: arria10: Replace delays with busy waiting in cm_full_cfg Using udelay while the clocks aren't fully configured causes the timer system to save the wrong clock rate. Use sdelay and wait_on_value instead (the values used in these functions were found experimentally). Signed-off-by: Paweł Anikiel <pan@semihalf.com> Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>