2014-01-09 04:18:18 +08:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2013 Xilinx, Inc.
|
|
|
|
*
|
|
|
|
* Configuration settings for the Xilinx Zynq ZC770 board.
|
|
|
|
* See zynq-common.h for Zynq common configs
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_ZYNQ_ZC770_H
|
|
|
|
#define __CONFIG_ZYNQ_ZC770_H
|
|
|
|
|
|
|
|
#define CONFIG_SYS_SDRAM_SIZE (1024 * 1024 * 1024)
|
|
|
|
|
|
|
|
#define CONFIG_SYS_NO_FLASH
|
|
|
|
|
|
|
|
#if defined(CONFIG_ZC770_XM010)
|
|
|
|
# define CONFIG_ZYNQ_SERIAL_UART1
|
|
|
|
# define CONFIG_ZYNQ_GEM0
|
|
|
|
# define CONFIG_ZYNQ_GEM_PHY_ADDR0 7
|
|
|
|
# define CONFIG_ZYNQ_SDHCI0
|
|
|
|
# define CONFIG_ZYNQ_SPI
|
2014-01-09 04:18:30 +08:00
|
|
|
# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm010
|
2014-01-09 04:18:18 +08:00
|
|
|
|
2014-01-09 04:18:20 +08:00
|
|
|
#elif defined(CONFIG_ZC770_XM012)
|
|
|
|
# define CONFIG_ZYNQ_SERIAL_UART1
|
|
|
|
# undef CONFIG_SYS_NO_FLASH
|
2014-01-09 04:18:30 +08:00
|
|
|
# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm012
|
2014-01-09 04:18:20 +08:00
|
|
|
|
2014-01-09 04:18:19 +08:00
|
|
|
#elif defined(CONFIG_ZC770_XM013)
|
|
|
|
# define CONFIG_ZYNQ_SERIAL_UART0
|
|
|
|
# define CONFIG_ZYNQ_GEM1
|
|
|
|
# define CONFIG_ZYNQ_GEM_PHY_ADDR1 7
|
2014-01-09 04:18:30 +08:00
|
|
|
# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm013
|
2014-01-09 04:18:19 +08:00
|
|
|
|
2014-01-09 04:18:18 +08:00
|
|
|
#else
|
|
|
|
# define CONFIG_ZYNQ_SERIAL_UART0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <configs/zynq-common.h>
|
|
|
|
|
|
|
|
#endif /* __CONFIG_ZYNQ_ZC770_H */
|