plat_pm_common.h 686 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2013-2020, Arm Limited and Contributors. All rights reserved.
  3. * Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved.
  4. *
  5. * SPDX-License-Identifier: BSD-3-Clause
  6. */
  7. /*
  8. * Contains platform specific definitions of commonly used macros data types
  9. * for PU Power Management. This file should be common for all PU's.
  10. */
  11. #ifndef PLAT_PM_COMMON_H
  12. #define PLAT_PM_COMMON_H
  13. #include <stdint.h>
  14. #include <common/debug.h>
  15. #include "zynqmp_pm_defs.h"
  16. #define ZYNQMP_TZ_VERSION_MAJOR 1
  17. #define ZYNQMP_TZ_VERSION_MINOR 0
  18. #define ZYNQMP_TZ_VERSION ((ZYNQMP_TZ_VERSION_MAJOR << 16) | \
  19. ZYNQMP_TZ_VERSION_MINOR)
  20. #endif /* _PLAT_PM_COMMON_H_ */