fvp_bl2_el3_setup.c 736 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <plat/arm/common/plat_arm.h>
  7. #include "fvp_private.h"
  8. void bl2_el3_early_platform_setup(u_register_t arg0 __unused,
  9. u_register_t arg1 __unused,
  10. u_register_t arg2 __unused,
  11. u_register_t arg3 __unused)
  12. {
  13. arm_bl2_el3_early_platform_setup();
  14. /* Initialize the platform config for future decision making */
  15. fvp_config_setup();
  16. /*
  17. * Initialize Interconnect for this cluster during cold boot.
  18. * No need for locks as no other CPU is active.
  19. */
  20. fvp_interconnect_init();
  21. /*
  22. * Enable coherency in Interconnect for the primary CPU's cluster.
  23. */
  24. fvp_interconnect_enable();
  25. }