From: Quanyang Wang <[email protected]>

The enum pm_ioctl_id should be identical to the definitions in SDK, or
else according to the value of pm_ioctl_id, secure monitor will execute
unexpected instructions.

Signed-off-by: Quanyang Wang <[email protected]>
---
 include/linux/firmware/xlnx-zynqmp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/firmware/xlnx-zynqmp.h 
b/include/linux/firmware/xlnx-zynqmp.h
index 3c7d9b8b666d..f6f511617970 100644
--- a/include/linux/firmware/xlnx-zynqmp.h
+++ b/include/linux/firmware/xlnx-zynqmp.h
@@ -153,14 +153,14 @@ enum pm_ret_status {
 };
 
 enum pm_ioctl_id {
-       IOCTL_SD_DLL_RESET = 6,
-       IOCTL_SET_SD_TAPDELAY,
        IOCTL_GET_RPU_OPER_MODE,
        IOCTL_SET_RPU_OPER_MODE,
        IOCTL_RPU_BOOT_ADDR_CONFIG,
        IOCTL_TCM_COMB_CONFIG,
        IOCTL_SET_TAPDELAY_BYPASS,
        IOCTL_SET_SGMII_MODE,
+       IOCTL_SD_DLL_RESET,
+       IOCTL_SET_SD_TAPDELAY,
        IOCTL_SET_PLL_FRAC_MODE,
        IOCTL_GET_PLL_FRAC_MODE,
        IOCTL_SET_PLL_FRAC_DATA,
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8712): 
https://lists.yoctoproject.org/g/linux-yocto/message/8712
Mute This Topic: https://lists.yoctoproject.org/mt/74391251/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to