[U-Boot] [PATCH 6/6] zynqmp: Enable SDHCI0 options

Michal Simek michal.simek at xilinx.com
Wed Apr 15 15:33:24 CEST 2015


Enable SDHCI0 for zynqmp.
Add empty gpio.h because of sdhci requirement.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

There will be gpio driver anyway that's why it should be fine to add
empty file.

---
 arch/arm/include/asm/arch-zynqmp/gpio.h | 12 ++++++++++++
 include/configs/xilinx_zynqmp.h         |  2 ++
 2 files changed, 14 insertions(+)
 create mode 100644 arch/arm/include/asm/arch-zynqmp/gpio.h

diff --git a/arch/arm/include/asm/arch-zynqmp/gpio.h b/arch/arm/include/asm/arch-zynqmp/gpio.h
new file mode 100644
index 000000000000..098bbde06f30
--- /dev/null
+++ b/arch/arm/include/asm/arch-zynqmp/gpio.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright 2015 Xilinx, Inc.
+ *
+ * SPDX-License-Identifier:      GPL-2.0+
+ */
+
+#ifndef __ARCH_ZYNQMP_GPIO_H
+#define __ARCH_ZYNQMP_GPIO_H
+
+/* Empty file - sdhci requires this. */
+
+#endif
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index 94b713bc2b19..6c608abfb9bb 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -61,6 +61,8 @@
 #define CONFIG_SYS_BAUDRATE_TABLE \
 	{ 4800, 9600, 19200, 38400, 57600, 115200 }
 
+#define CONFIG_ZYNQ_SDHCI0
+
 /* Command line configuration */
 #define CONFIG_CMD_ENV
 #define CONFIG_CMD_EXT2
-- 
2.3.5



More information about the U-Boot mailing list