platform.c 379 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright 2020-2022 NXP
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <plat_common.h>
  7. #pragma weak board_enable_povdd
  8. #pragma weak board_disable_povdd
  9. bool board_enable_povdd(void)
  10. {
  11. #ifdef CONFIG_POVDD_ENABLE
  12. return true;
  13. #else
  14. return false;
  15. #endif
  16. }
  17. bool board_disable_povdd(void)
  18. {
  19. #ifdef CONFIG_POVDD_ENABLE
  20. return true;
  21. #else
  22. return false;
  23. #endif
  24. }