blob: 18da8496ef851c69e0800b3d7912e54bb79f8239 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Dinh Nguyenad51f7c2012-10-04 06:46:02 +00002/*
Pavel Machek5e2d70a2014-09-08 14:08:45 +02003 * Copyright (C) 2014 Marek Vasut <marex@denx.de>
Dinh Nguyenad51f7c2012-10-04 06:46:02 +00004 */
Pavel Machek5e2d70a2014-09-08 14:08:45 +02005#ifndef __CONFIG_SOCFPGA_CYCLONE5_H__
6#define __CONFIG_SOCFPGA_CYCLONE5_H__
Dinh Nguyenad51f7c2012-10-04 06:46:02 +00007
Dinh Nguyeneca8b5c2015-11-23 17:27:17 -06008#include <asm/arch/base_addr_ac5.h>
Dinh Nguyenad51f7c2012-10-04 06:46:02 +00009
Pavel Machek5e2d70a2014-09-08 14:08:45 +020010/* Memory configurations */
Marek Vasutd4a4db12014-09-08 14:08:45 +020011#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
Dinh Nguyenad51f7c2012-10-04 06:46:02 +000012
Marek Vasutd4a4db12014-09-08 14:08:45 +020013/* Booting Linux */
Marek Vasut2bff5402015-07-22 06:18:19 +020014#define CONFIG_LOADADDR 0x01000000
Marek Vasutd4a4db12014-09-08 14:08:45 +020015#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
Dinh Nguyenad51f7c2012-10-04 06:46:02 +000016
Pavel Machek5e2d70a2014-09-08 14:08:45 +020017/* Ethernet on SoC (EMAC) */
Pavel Machekce340e92014-07-14 14:14:17 +020018
Pavel Machek5e2d70a2014-09-08 14:08:45 +020019/* The rest of the configuration is shared */
20#include <configs/socfpga_common.h>
Chin Liang See561c9d42014-06-10 01:11:04 -050021
Pavel Machek5e2d70a2014-09-08 14:08:45 +020022#endif /* __CONFIG_SOCFPGA_CYCLONE5_H__ */