mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
8d59d7f63b
Read information about memory from DT. This patch simplify life with synchronization between DT and board files. dram_init() only needs maximum RAM size below 4GB that's why please sort banks in memory node. dram_init_banksize() copies memory setup to bi_dram[]. This will avoid reading information from DT twice. Memory test start/end were changed to DDR location to let memtest still compiled. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
29 lines
764 B
C
29 lines
764 B
C
/*
|
|
* Configuration for Xilinx ZynqMP emulation platforms
|
|
*
|
|
* (C) Copyright 2014 - 2015 Xilinx, Inc.
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
* Siva Durga Prasad Paladugu <sivadur@xilinx.com>
|
|
*
|
|
* Based on Configuration for Versatile Express
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __CONFIG_ZYNQMP_EP_H
|
|
#define __CONFIG_ZYNQMP_EP_H
|
|
|
|
#define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000
|
|
#define CONFIG_ZYNQ_SDHCI_MIN_FREQ (CONFIG_ZYNQ_SDHCI_MAX_FREQ << 9)
|
|
#define CONFIG_ZYNQ_I2C0
|
|
#define CONFIG_SYS_I2C_ZYNQ
|
|
#define CONFIG_ZYNQ_EEPROM
|
|
#define CONFIG_AHCI
|
|
#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR, \
|
|
ZYNQMP_USB1_XHCI_BASEADDR}
|
|
|
|
#define COUNTER_FREQUENCY 4000000
|
|
|
|
#include <configs/xilinx_zynqmp.h>
|
|
|
|
#endif /* __CONFIG_ZYNQMP_EP_H */
|