]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: cc108: Add configuration file for CC108
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 29 Oct 2013 20:10:41 +0000 (13:10 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 30 Oct 2013 14:38:24 +0000 (15:38 +0100)
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
boards.cfg
include/configs/zynq_cc108.h [new file with mode: 0644]

index fbb939301e1845eaf7823b98ca9b8d2fd99dbe3d..ea4f354f5f005b5541ccfe3cf1819c1365342baa 100644 (file)
@@ -355,6 +355,7 @@ Active  arm         armv7          zynq        xilinx          zynq
 Active  arm         armv7          zynq        xilinx          zynq                zynq_cse_nor                         zynq_cse:CSE_NOR                                                                                                                  Michal Simek <michal.simek@xilinx.com>
 Active  arm         armv7          zynq        xilinx          zynq                zynq_cse_qspi                        zynq_cse:CSE_QSPI                                                                                                                 Michal Simek <michal.simek@xilinx.com>
 Active  arm         armv7          zynq        xilinx          zynq                zynq_cse_nand                        zynq_cse:CSE_NAND                                                                                                                 Michal Simek <michal.simek@xilinx.com>
+Active  arm         armv7          zynq        xilinx          zynq                zynq_cc108                           -                                                                                                                                 Michal Simek <michal.simek@xilinx.com>
 Active  arm         armv7:arm720t  tegra114    nvidia          dalmore             dalmore                              -                                                                                                                                 Tom Warren <twarren@nvidia.com>
 Active  arm         armv7:arm720t  tegra20     avionic-design  medcom-wide         medcom-wide                          -                                                                                                                                 Thierry Reding <thierry.reding@avionic-design.de>
 Active  arm         armv7:arm720t  tegra20     avionic-design  plutux              plutux                               -                                                                                                                                 Thierry Reding <thierry.reding@avionic-design.de>
diff --git a/include/configs/zynq_cc108.h b/include/configs/zynq_cc108.h
new file mode 100644 (file)
index 0000000..46deaae
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * (C) Copyright 2013 Xilinx
+ *
+ * Configuration settings for the Xilinx Zynq CC108 boards
+ * See zynq_common.h for Zynq common configs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __CONFIG_ZYNQ_CC108_H
+#define __CONFIG_ZYNQ_CC108_H
+
+#define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024)
+
+/*
+ * UART is connected to EMIO, making it very likely that this board uses a
+ * boot.bin which includes a bitstream, whose file size  exceeds the default
+ * env offset. Hence the env offset is moved to the last MB of the QSPI.
+ */
+#define CONFIG_ENV_OFFSET      0xF00000
+
+#define CONFIG_ZYNQ_SERIAL_UART1
+#define CONFIG_ZYNQ_GEM0
+#define CONFIG_ZYNQ_GEM_PHY_ADDR0      7
+
+#define CONFIG_SYS_NO_FLASH
+
+#define CONFIG_ZYNQ_SDHCI1
+#define CONFIG_ZYNQ_QSPI
+#define CONFIG_ZYNQ_BOOT_FREEBSD
+
+#include <configs/zynq_common.h>
+
+#endif /* __CONFIG_ZYNQ_CC108_H */