All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Crosthwaite <crosthwaitepeter@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] configs: zynq: Add config support for ZYBO
Date: Thu, 28 Aug 2014 21:16:40 +1000	[thread overview]
Message-ID: <b781b4d8405e1214256a8c782b03f8f43e777818.1409223862.git.crosthwaite.peter@gmail.com> (raw)
In-Reply-To: <cover.1409223862.git.crosthwaite.peter@gmail.com>

From: Tinghui Wang <steven.wang@digilentinc.com>

This patch adds config support needed for ZYBO target and has
been tested on Rev. B ZYBO hardware.

Signed-off-by: Tinghui Wang <steven.wang@digilentinc.com>
[PC changes:
 * Dropped boards.cfg change (rebase conflict)
 * Dropped custom u-boot env
 * Added DTS
 * Misc forward-porting changes
]
Signed-off-by: Peter Crosthwiate <crosthwaite.peter@gmail.com>

---
I have dropped the custom u-boot env from the original patch,
as I'm not sure what the purpose was and I didn't need it for ZYBO SPL.
---
 include/configs/zynq_zybo.h | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 include/configs/zynq_zybo.h

diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h
new file mode 100644
index 0000000..c167207
--- /dev/null
+++ b/include/configs/zynq_zybo.h
@@ -0,0 +1,31 @@
+/*
+ * (C) Copyright 2012 Xilinx
+ * (C) Copyright 2014 Digilent Inc.
+ *
+ * Configuration for Zynq Development Board - ZYBO
+ * See zynq_common.h for Zynq common configs
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#ifndef __CONFIG_ZYNQ_ZYBO_H
+#define __CONFIG_ZYNQ_ZYBO_H
+
+#define CONFIG_SYS_SDRAM_SIZE (512 * 1024 * 1024)
+
+#define CONFIG_ZYNQ_SERIAL_UART1
+#define CONFIG_ZYNQ_GEM0
+#define CONFIG_ZYNQ_GEM_PHY_ADDR0	0
+
+#define CONFIG_SYS_NO_FLASH
+
+#define CONFIG_ZYNQ_SDHCI0
+#define CONFIG_ZYNQ_BOOT_FREEBSD
+#define CONFIG_DEFAULT_DEVICE_TREE	zynq-zybo
+
+/* Define ZYBO PS Clock Frequency to 50MHz */
+#define CONFIG_ZYNQ_PS_CLK_FREQ	50000000UL
+
+#include <configs/zynq-common.h>
+
+#endif /* __CONFIG_ZYNQ_ZYBO_H */
-- 
1.9.1

  parent reply	other threads:[~2014-08-28 11:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 11:16 [U-Boot] [PATCH 0/3] ARM: Zynq: Add ZYBO board Peter Crosthwaite
2014-08-28 11:16 ` [U-Boot] [PATCH 1/3] arm: dts: zynq: Add digilent ZYBO board dts Peter Crosthwaite
2014-08-28 11:44   ` Jagan Teki
2014-08-28 11:16 ` Peter Crosthwaite [this message]
2014-08-28 11:39   ` [U-Boot] [PATCH 2/3] configs: zynq: Add config support for ZYBO Jagan Teki
2014-08-28 11:16 ` [U-Boot] [PATCH 3/3] kconfig: zynq: Add ZYBO board Peter Crosthwaite
2014-08-28 11:45   ` Jagan Teki
2014-09-01  2:25   ` Masahiro Yamada
2014-09-01 11:00     ` Michal Simek
2014-08-29 11:07 ` [U-Boot] [PATCH 0/3] ARM: Zynq: " Michal Simek
2014-08-30  1:29   ` Peter Crosthwaite
     [not found] ` <OFC44BD889.84CD4704-ON86257D43.0024CD41-86257D43.0024CD47@ni.com>
2014-08-29 10:34   ` [U-Boot] [PATCH 2/3] configs: zynq: Add config support for ZYBO Michal Simek
2014-08-30  1:42   ` Peter Crosthwaite

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b781b4d8405e1214256a8c782b03f8f43e777818.1409223862.git.crosthwaite.peter@gmail.com \
    --to=crosthwaitepeter@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.