mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 00:49:43 +00:00
e5d5d4474a
There are already Kconfig options for SPI drivers, but we have not moved them from config.h to defconfig files. This commit does this in a batch. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
35 lines
734 B
C
35 lines
734 B
C
/*
|
|
* (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_GEM0
|
|
# define CONFIG_ZYNQ_GEM_PHY_ADDR0 7
|
|
# define CONFIG_ZYNQ_SDHCI0
|
|
|
|
#elif defined(CONFIG_ZC770_XM011)
|
|
|
|
#elif defined(CONFIG_ZC770_XM012)
|
|
# undef CONFIG_SYS_NO_FLASH
|
|
|
|
#elif defined(CONFIG_ZC770_XM013)
|
|
# define CONFIG_ZYNQ_GEM1
|
|
# define CONFIG_ZYNQ_GEM_PHY_ADDR1 7
|
|
|
|
#endif
|
|
|
|
#include <configs/zynq-common.h>
|
|
|
|
#endif /* __CONFIG_ZYNQ_ZC770_H */
|