imx_sdei.c 671 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
  3. * Copyright 2020 NXP
  4. *
  5. * SPDX-License-Identifier: BSD-3-Clause
  6. */
  7. /* SDEI configuration for ARM platforms */
  8. #include <bl31/ehf.h>
  9. #include <common/debug.h>
  10. #include <services/sdei.h>
  11. #include <lib/utils_def.h>
  12. #include <platform_def.h>
  13. /* Private event mappings */
  14. static sdei_ev_map_t imx_sdei_private[] = {
  15. SDEI_DEFINE_EVENT_0(PLAT_SDEI_SGI_PRIVATE),
  16. };
  17. /* Shared event mappings */
  18. static sdei_ev_map_t imx_sdei_shared[] = {
  19. };
  20. void plat_sdei_setup(void)
  21. {
  22. INFO("SDEI platform setup\n");
  23. }
  24. /* Export ARM SDEI events */
  25. REGISTER_SDEI_MAP(imx_sdei_private, imx_sdei_shared);