mt_msdc.c 448 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <common/debug.h>
  7. #include <lib/mmio.h>
  8. #include <mt_msdc.h>
  9. #include <platform_def.h>
  10. uint64_t msdc_smc_dispatcher(uint64_t arg0, uint64_t arg1,
  11. uint64_t arg2, uint64_t arg3)
  12. {
  13. INFO("[%s] msdc setup call from kernel\n", __func__);
  14. mmio_setbits_32(MSDC0_BASE + MSDC_CQHCI_CFG, MSDC_CQHCI_CRYPTO_ENABLE);
  15. return 0L;
  16. }