]> git.baikalelectronics.ru Git - uboot.git/commit
imx8ulp: ddr: Fix DDR frequency request issue
authorYe Li <ye.li@nxp.com>
Fri, 29 Oct 2021 01:46:34 +0000 (09:46 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:39 +0000 (13:38 +0100)
commitfcef1b00aa93d00b66dd341cb69e67f20758c2c6
tree36c6c2964be77be493cdee15253c2479efcae9fb
parentea06bd472068d6a9ba61a52b9895a167d751b16b
imx8ulp: ddr: Fix DDR frequency request issue

After acking the requested frequency, should wait the ack bit clear
by DDR controller and check the DFS interrupt for next request polling.
Otherwise, the next polling of request bit will get previous value
that DDR controller have not cleared it, so a wrong request frequency
is used.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/ddr/imx/imx8ulp/ddr_init.c