diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-04-22 14:56:49 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-04-30 11:39:27 +0200 |
commit | 293eb33fcb95e2b2bae71edf97b0ca3bdd6ba98d (patch) | |
tree | 6fa1c9a39f7d94ba26bd165d14fdae5699edf99b /include/configs/zynq.h | |
parent | f97d7e8be96888b622309d9563da0ab3fba0534b (diff) | |
download | u-boot-imx-293eb33fcb95e2b2bae71edf97b0ca3bdd6ba98d.zip u-boot-imx-293eb33fcb95e2b2bae71edf97b0ca3bdd6ba98d.tar.gz u-boot-imx-293eb33fcb95e2b2bae71edf97b0ca3bdd6ba98d.tar.bz2 |
mmc: Add support for Xilinx Zynq sdhci controller
Add support for SD, MMC and eMMC card on Xilinx Zynq.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/zynq.h')
-rw-r--r-- | include/configs/zynq.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/zynq.h b/include/configs/zynq.h index 3b23354..2ed88a7 100644 --- a/include/configs/zynq.h +++ b/include/configs/zynq.h @@ -56,6 +56,22 @@ #define CONFIG_ZYNQ_GEM0 #define CONFIG_ZYNQ_GEM_PHY_ADDR0 7 +#define CONFIG_ZYNQ_SDHCI +#define CONFIG_ZYNQ_SDHCI0 + +/* MMC */ +#if defined(CONFIG_ZYNQ_SDHCI0) || defined(CONFIG_ZYNQ_SDHCI1) +# define CONFIG_MMC +# define CONFIG_GENERIC_MMC +# define CONFIG_SDHCI +# define CONFIG_ZYNQ_SDHCI +# define CONFIG_CMD_MMC +# define CONFIG_CMD_FAT +# define CONFIG_SUPPORT_VFAT +# define CONFIG_CMD_EXT2 +# define CONFIG_DOS_PARTITION +#endif + #if defined(CONFIG_ZYNQ_DCC) # define CONFIG_ARM_DCC # define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */ |