--- linux-4.9.37/drivers/mmc/host/sdhci-proc.h 1970-01-01 03:00:00.000000000 +0300 +++ linux-4.9.y/drivers/mmc/host/sdhci-proc.h 2021-06-07 13:01:33.000000000 +0300 @@ -0,0 +1,29 @@ +/* + * Copyright (c) Hunan Goke,Chengdu Goke,Shandong Goke. 2021. All rights reserved. + */ + +/* + * MCI connection table manager + */ +#ifndef __MCI_PROC_H__ +#define __MCI_PROC_H__ + +#include + +#define MAX_CARD_TYPE 4 +#define MAX_SPEED_MODE 5 + + + +#if defined(CONFIG_ARCH_GK7205V200) || defined(CONFIG_ARCH_GK7205V300) ||\ + defined(CONFIG_ARCH_GK7202V300) || defined(CONFIG_ARCH_GK7605V100) + #define MCI_SLOT_NUM 3 +#endif + +extern unsigned int slot_index; +extern struct mmc_host *mci_host[MCI_SLOT_NUM]; + +int mci_proc_init(void); +int mci_proc_shutdown(void); + +#endif /* __MCI_PROC_H__ */