diff options
author | Tinghui Wang <steven.wang@digilentinc.com> | 2014-08-28 21:16:40 +1000 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-11-11 11:02:07 +0100 |
commit | d977d6f71ed2613c716c140ed718806fec5bae4a (patch) | |
tree | 6d72e0aad720a1472ceec479c786c2345d9b27d8 /include | |
parent | 9757b65befff800303f053d95d49b167a0d159a2 (diff) | |
download | u-boot-imx-d977d6f71ed2613c716c140ed718806fec5bae4a.zip u-boot-imx-d977d6f71ed2613c716c140ed718806fec5bae4a.tar.gz u-boot-imx-d977d6f71ed2613c716c140ed718806fec5bae4a.tar.bz2 |
configs: zynq: Add config support for ZYBO
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>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/zynq_zybo.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h new file mode 100644 index 0000000..ce1527f --- /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 */ |