sq_scp.c 389 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <sq_common.h>
  7. #include "sq_scpi.h"
  8. /*
  9. * Helper function to get dram information from SCP.
  10. */
  11. uint32_t sq_scp_get_draminfo(struct draminfo *info)
  12. {
  13. #if SQ_USE_SCMI_DRIVER
  14. sq_scmi_get_draminfo(info);
  15. #else
  16. scpi_get_draminfo(info);
  17. #endif
  18. return 0;
  19. }