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 /arch | |
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 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-zynq/hardware.h | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-zynq/sys_proto.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynq/hardware.h b/arch/arm/include/asm/arch-zynq/hardware.h index 5820f3b..8eb4e1a 100644 --- a/arch/arm/include/asm/arch-zynq/hardware.h +++ b/arch/arm/include/asm/arch-zynq/hardware.h @@ -29,6 +29,8 @@ #define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600 #define ZYNQ_GEM_BASEADDR0 0xE000B000 #define ZYNQ_GEM_BASEADDR1 0xE000C000 +#define ZYNQ_SDHCI_BASEADDR0 0xE0100000 +#define ZYNQ_SDHCI_BASEADDR1 0xE0101000 /* Reflect slcr offsets */ struct slcr_regs { diff --git a/arch/arm/include/asm/arch-zynq/sys_proto.h b/arch/arm/include/asm/arch-zynq/sys_proto.h index 57128dc..af9e7f8 100644 --- a/arch/arm/include/asm/arch-zynq/sys_proto.h +++ b/arch/arm/include/asm/arch-zynq/sys_proto.h @@ -28,4 +28,7 @@ extern void zynq_slcr_unlock(void); extern void zynq_slcr_cpu_reset(void); extern void zynq_slcr_gem_clk_setup(u32 gem_id, u32 rclk, u32 clk); +/* Driver extern functions */ +extern int zynq_sdhci_init(u32 regbase); + #endif /* _SYS_PROTO_H_ */ |