]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/zynq_zc770.h
16b904743f1e97f5487f850f81f6c0383a40c724
[karo-tx-uboot.git] / include / configs / zynq_zc770.h
1 /*
2  * (C) Copyright 2013 Xilinx, Inc.
3  *
4  * Configuration settings for the Xilinx Zynq ZC770 board.
5  * See zynq-common.h for Zynq common configs
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #ifndef __CONFIG_ZYNQ_ZC770_H
11 #define __CONFIG_ZYNQ_ZC770_H
12
13 #define CONFIG_SYS_SDRAM_SIZE           (1024 * 1024 * 1024)
14
15 #define CONFIG_SYS_NO_FLASH
16
17 #if defined(CONFIG_ZC770_XM010)
18 # define CONFIG_ZYNQ_SERIAL_UART1
19 # define CONFIG_ZYNQ_GEM0
20 # define CONFIG_ZYNQ_GEM_PHY_ADDR0      7
21 # define CONFIG_ZYNQ_SDHCI0
22 # define CONFIG_ZYNQ_SPI
23
24 #elif defined(CONFIG_ZC770_XM012)
25 # define CONFIG_ZYNQ_SERIAL_UART1
26 # undef CONFIG_SYS_NO_FLASH
27
28 #elif defined(CONFIG_ZC770_XM013)
29 # define CONFIG_ZYNQ_SERIAL_UART0
30 # define CONFIG_ZYNQ_GEM1
31 # define CONFIG_ZYNQ_GEM_PHY_ADDR1      7
32
33 #else
34 # define CONFIG_ZYNQ_SERIAL_UART0
35 #endif
36
37 #include <configs/zynq-common.h>
38
39 #endif /* __CONFIG_ZYNQ_ZC770_H */