Debian Codegraph @

plat/intel/soc/common/drivers/combophy/combophy.h

raw
1 /*
2 * Copyright (c) 2022-2023, Intel Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #ifndef COMBOPHY_H
8 #define COMBOPHY_H
9
10 #include <lib/mmio.h>
11
12 #include "socfpga_handoff.h"
13
14 #define PERIPHERAL_SDMMC_MASK 0x60
15 #define PERIPHERAL_SDMMC_OFFSET 6
16 #define DFI_INTF_MASK 0x1
17
18 /* FUNCTION DEFINATION */
19 /*
20 * @brief Nand controller initialization function
21 *
22 * @hoff_ptr: Pointer to the hand-off data
23 * Return: 0 on success, a negative errno on failure
24 */
25 int combo_phy_init(handoff *hoff_ptr);
26 int dfi_select(handoff *hoff_ptr);
27
28 #endif