]> git.baikalelectronics.ru Git - arm-tf.git/commit
plat: zynqmp: Check for DLL status before doing reset
authorSai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Tue, 20 Oct 2020 13:00:06 +0000 (07:00 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 10 Dec 2020 14:36:53 +0000 (15:36 +0100)
commit2ab0ef8db9561699fef0f77f5a1735e4903f6b3e
tree85e7f51e44537c1138ba664369f73915da61a870
parentd01f31c0366fa7b0aa8f0eee8daeee5385c88ce5
plat: zynqmp: Check for DLL status before doing reset

This patch check for the DLL status before doing the DLL reset.
If DLL reset is already issued then skip the reset inside ATF
otherwise DLL reset will be issued.
By doing this way, all the following cases will be supported.
1. Patched ATF + Patched Linux base.
2. Older ATF + Patched Linux base.
3. Patched ATF + Older Linux base.

Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Change-Id: I53a0a27521330f1543275cc9cb44cd1dfc569c65
plat/xilinx/zynqmp/pm_service/pm_api_ioctl.c