]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
plat: versal: Update API list in feature check
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Wed, 11 Dec 2019 03:16:36 +0000 (22:16 -0500)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 7 Dec 2020 11:07:32 +0000 (11:07 +0000)
Add below API in feature check list which is actually present in
firmware:
- PM_GET_CHIPID

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Signed-off-by: Ravi Patel <ravi.patel@xilinx.com>
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Change-Id: I98b82da74164f065c8835861f74b0f2855e9bcbf

plat/xilinx/versal/pm_service/pm_api_sys.c

index dbe94e62497467955931364ab08c567515aeb487..75cc3d12e1cabec4ffa6db85958881939a3f3370 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019, Xilinx, Inc. All rights reserved.
+ * Copyright (c) 2019-2020, Xilinx, Inc. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -798,6 +798,7 @@ enum pm_ret_status pm_feature_check(uint32_t api_id, unsigned int *version)
        case PM_SET_REQUIREMENT:
        case PM_RESET_ASSERT:
        case PM_RESET_GET_STATUS:
+       case PM_GET_CHIPID:
        case PM_PINCTRL_REQUEST:
        case PM_PINCTRL_RELEASE:
        case PM_PINCTRL_GET_FUNCTION: