RE: [PATCH v2 08/11] socfpga: arria10: Replace delays with busy waiting in cm_full_cfg

2022-06-16 Thread Chee, Tien Fong
Hi Pawel, > -Original Message- > From: Paweł Anikiel > Sent: Thursday, 26 May, 2022 10:37 PM > To: Vasut, Marek ; simon.k.r.goldschm...@gmail.com; > Chee, Tien Fong ; michal.si...@xilinx.com > Cc: u-boot@lists.denx.de; s...@chromium.org; feste...@denx.de; > ja...@amarulasolutions.com; and

Re: [PATCH v2 08/11] socfpga: arria10: Replace delays with busy waiting in cm_full_cfg

2022-05-27 Thread Simon Glass
On Thu, 26 May 2022 at 07:38, Paweł Anikiel wrote: > > 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ł Aniki