mmc.c (2e7410d76ad11856d09284c18d262d0bb2a3da0c) mmc.c (ec841209a7d250c1616d56744e1e79acab6c2921)
1/*
2 * Copyright 2008, Freescale Semiconductor, Inc
3 * Andy Fleming
4 *
5 * Based vaguely on the Linux code
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */

--- 1185 unchanged lines hidden (view full) ---

1194 return 4;
1195 if (cap == MMC_MODE_1BIT)
1196 return 1;
1197 printf("invalid bus witdh capability 0x%x\n", cap);
1198 return 0;
1199}
1200
1201#if !CONFIG_IS_ENABLED(DM_MMC)
1/*
2 * Copyright 2008, Freescale Semiconductor, Inc
3 * Andy Fleming
4 *
5 * Based vaguely on the Linux code
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */

--- 1185 unchanged lines hidden (view full) ---

1194 return 4;
1195 if (cap == MMC_MODE_1BIT)
1196 return 1;
1197 printf("invalid bus witdh capability 0x%x\n", cap);
1198 return 0;
1199}
1200
1201#if !CONFIG_IS_ENABLED(DM_MMC)
1202static int mmc_execute_tuning(struct mmc *mmc, uint opcode)
1203{
1204 return -ENOTSUPP;
1205}
1206
1202static void mmc_send_init_stream(struct mmc *mmc)
1203{
1204}
1205
1206static int mmc_set_ios(struct mmc *mmc)
1207{
1208 int ret = 0;
1209

--- 1038 unchanged lines hidden ---
1207static void mmc_send_init_stream(struct mmc *mmc)
1208{
1209}
1210
1211static int mmc_set_ios(struct mmc *mmc)
1212{
1213 int ret = 0;
1214

--- 1038 unchanged lines hidden ---