plat_sp_min_common.c 670 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <drivers/console.h>
  7. #include <plat/common/platform.h>
  8. #include <platform_sp_min.h>
  9. /*
  10. * The following platform setup functions are weakly defined. They
  11. * provide typical implementations that may be re-used by multiple
  12. * platforms but may also be overridden by a platform if required.
  13. */
  14. #pragma weak sp_min_plat_runtime_setup
  15. void sp_min_plat_runtime_setup(void)
  16. {
  17. /*
  18. * Finish the use of console driver in SP_MIN so that any runtime logs
  19. * from SP_MIN will be suppressed.
  20. */
  21. console_switch_state(CONSOLE_FLAG_RUNTIME);
  22. }