[U-Boot] [PATCH 1/3] xilinx: zynq: Enable DCC and create new zynq_dcc board

Michal Simek michal.simek at xilinx.com
Mon Feb 4 15:36:05 CET 2013


Enable DCC driver for arm zynq platform to be compiled.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
 boards.cfg             |    1 +
 include/configs/zynq.h |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/boards.cfg b/boards.cfg
index 98f7a14..1d30a18 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -296,6 +296,7 @@ snowball                     arm         armv7       snowball               st-e
 kzm9g                        arm         armv7       kzm9g               kmc            rmobile
 armadillo-800eva             arm         armv7       armadillo-800eva    atmark-techno  rmobile
 zynq                         arm         armv7       zynq                xilinx         zynq
+zynq_dcc                     arm         armv7       zynq                xilinx         zynq        zynq:ZYNQ_DCC
 socfpga_cyclone5                arm         armv7          socfpga_cyclone5    altera		    socfpga
 actux1_4_16                  arm         ixp         actux1              -              -           actux1:FLASH2X2
 actux1_4_32                  arm         ixp         actux1              -              -           actux1:FLASH2X2,RAM_32MB
diff --git a/include/configs/zynq.h b/include/configs/zynq.h
index 18fd76f..2989e72 100644
--- a/include/configs/zynq.h
+++ b/include/configs/zynq.h
@@ -58,6 +58,11 @@
 #define CONFIG_ZYNQ_GEM
 #define CONFIG_ZYNQ_GEM_BASEADDR0	0xE000B000
 
+#if defined(CONFIG_ZYNQ_DCC)
+# define CONFIG_ARM_DCC
+# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
+#endif
+
 #define CONFIG_BOOTP_SERVERIP
 #define CONFIG_BOOTP_BOOTPATH
 #define CONFIG_BOOTP_GATEWAY
-- 
1.7.0.4



More information about the U-Boot mailing list