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