fvp_ve_bl1_setup.c 753 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2019, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <drivers/arm/sp805.h>
  7. #include <plat/arm/common/plat_arm.h>
  8. #include <plat/common/platform.h>
  9. #include <platform_def.h>
  10. /*******************************************************************************
  11. * Perform any BL1 specific platform actions.
  12. ******************************************************************************/
  13. void bl1_early_platform_setup(void)
  14. {
  15. arm_bl1_early_platform_setup();
  16. }
  17. void plat_arm_secure_wdt_start(void)
  18. {
  19. sp805_start(ARM_SP805_TWDG_BASE, ARM_TWDG_LOAD_VAL);
  20. }
  21. void plat_arm_secure_wdt_stop(void)
  22. {
  23. sp805_stop(ARM_SP805_TWDG_BASE);
  24. }
  25. void bl1_platform_setup(void)
  26. {
  27. arm_bl1_platform_setup();
  28. }