]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/sh_mmcif.h
mmc: Poll for broken card detection case
[people/ms/u-boot.git] / drivers / mmc / sh_mmcif.h
index 4b6752f7f98a581dd56cfdda46a74c97eee25642..445465ec487cdb9a54aa71f654d4a0b77be78d73 100644 (file)
@@ -3,10 +3,7 @@
  *
  * Copyright (C)  2011 Renesas Solutions Corp.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License.
- *
+ * SPDX-License-Identifier:    GPL-2.0
  */
 
 #ifndef _SH_MMCIF_H_
@@ -199,7 +196,7 @@ struct sh_mmcif_regs {
 #define SOFT_RST_OFF           (0 << 31)
 
 #define CLKDEV_EMMC_DATA       52000000        /* 52MHz */
-#ifdef CONFIG_RMOBILE
+#ifdef CONFIG_ARCH_RMOBILE
 #define MMC_CLK_DIV_MIN(clk)   (clk / (1 << 9))
 #define MMC_CLK_DIV_MAX(clk)   (clk / (1 << 1))
 #else