[U-Boot] [PATCH 3/3] kconfig: zynq: Add ZYBO board

Peter Crosthwaite crosthwaitepeter at gmail.com
Thu Aug 28 13:16:41 CEST 2014


Add a defconfig and Kconfigury for the Digilent ZYBO board.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter at gmail.com>
---
 arch/arm/Kconfig            |  3 +++
 board/xilinx/zynq/Kconfig   | 24 ++++++++++++++++++++++++
 configs/zynq_zybo_defconfig |  3 +++
 3 files changed, 30 insertions(+)
 create mode 100644 configs/zynq_zybo_defconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e385eda..e04a2b9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -671,6 +671,9 @@ config TARGET_ZYNQ_ZC770
 config TARGET_ZYNQ_ZED
 	bool "Support zynq_zed"
 
+config TARGET_ZYNQ_ZYBO
+	bool "Support zynq_zybo"
+
 config TARGET_MEDCOM_WIDE
 	bool "Support medcom-wide"
 
diff --git a/board/xilinx/zynq/Kconfig b/board/xilinx/zynq/Kconfig
index 3b72a5f..151279c 100644
--- a/board/xilinx/zynq/Kconfig
+++ b/board/xilinx/zynq/Kconfig
@@ -93,3 +93,27 @@ config SYS_CONFIG_NAME
 	default "zynq_zed"
 
 endif
+
+if TARGET_ZYNQ_ZYBO
+
+config SYS_CPU
+	string
+	default "armv7"
+
+config SYS_BOARD
+	string
+	default "zynq"
+
+config SYS_VENDOR
+	string
+	default "xilinx"
+
+config SYS_SOC
+	string
+	default "zynq"
+
+config SYS_CONFIG_NAME
+	string
+	default "zynq_zybo"
+
+endif
diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
new file mode 100644
index 0000000..973ebc1
--- /dev/null
+++ b/configs/zynq_zybo_defconfig
@@ -0,0 +1,3 @@
+CONFIG_SPL=y
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_ZYNQ_ZYBO=y
-- 
1.9.1



More information about the U-Boot mailing list