blob: ccf440fcde4be7b2be30bef5762986496eeab361 [file] [log] [blame]
developerc9d2bfa2022-06-22 19:51:41 +08001/*
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
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}