hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/mmc/core/mmc_ops.c
....@@ -147,7 +147,7 @@
147147 * rules that must accommodate non-MMC slaves which this layer
148148 * won't even know about.
149149 */
150
-#ifndef CONFIG_ROCKCHIP_THUNDER_BOOT
150
+#ifndef CONFIG_ROCKCHIP_THUNDER_BOOT_MMC
151151 if (!mmc_host_is_spi(host)) {
152152 mmc_set_chip_select(host, MMC_CS_HIGH);
153153 mmc_delay(1);
....@@ -159,7 +159,7 @@
159159
160160 err = mmc_wait_for_cmd(host, &cmd, 0);
161161
162
-#ifndef CONFIG_ROCKCHIP_THUNDER_BOOT
162
+#ifndef CONFIG_ROCKCHIP_THUNDER_BOOT_MMC
163163 mmc_delay(1);
164164 if (!mmc_host_is_spi(host)) {
165165 mmc_set_chip_select(host, MMC_CS_DONTCARE);
....@@ -199,7 +199,7 @@
199199 }
200200
201201 err = -ETIMEDOUT;
202
-#ifndef CONFIG_ROCKCHIP_THUNDER_BOOT
202
+#ifndef CONFIG_ROCKCHIP_THUNDER_BOOT_MMC
203203 mmc_delay(1);
204204 #else
205205 udelay(1);