mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 06:42:56 +00:00
996503ef82
Zybo has on board I2C EEPROM which contains preprogrammed MAC address. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
31 lines
732 B
C
31 lines
732 B
C
/*
|
|
* (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_NO_FLASH
|
|
|
|
#define CONFIG_ZYNQ_USB
|
|
#define CONFIG_ZYNQ_I2C0
|
|
#define CONFIG_ZYNQ_I2C1
|
|
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
|
|
#define CONFIG_CMD_EEPROM
|
|
#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x50
|
|
#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA
|
|
#define CONFIG_DISPLAY
|
|
#define CONFIG_I2C_EDID
|
|
|
|
/* Define ZYBO PS Clock Frequency to 50MHz */
|
|
#define CONFIG_ZYNQ_PS_CLK_FREQ 50000000UL
|
|
|
|
#include <configs/zynq-common.h>
|
|
|
|
#endif /* __CONFIG_ZYNQ_ZYBO_H */
|