Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Marek Vasut <marex@denx.de> |
| 4 | * Copyright (C) 2016 Pavel Machek <pavel@denx.de> |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 5 | */ |
| 6 | #ifndef __CONFIG_SOCFPGA_IS1_H__ |
| 7 | #define __CONFIG_SOCFPGA_IS1_H__ |
| 8 | |
| 9 | #include <asm/arch/base_addr_ac5.h> |
| 10 | |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 11 | /* Memory configurations */ |
| 12 | #define PHYS_SDRAM_1_SIZE 0x10000000 |
| 13 | |
| 14 | /* Booting Linux */ |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 15 | #define CONFIG_BOOTFILE "zImage" |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 16 | #define CONFIG_LOADADDR 0x01000000 |
| 17 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 18 | |
| 19 | /* Ethernet on SoC (EMAC) */ |
| 20 | #if defined(CONFIG_CMD_NET) |
| 21 | #define CONFIG_ARP_TIMEOUT 500UL |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 22 | #endif |
| 23 | |
| 24 | /* The rest of the configuration is shared */ |
| 25 | #include <configs/socfpga_common.h> |
| 26 | |
| 27 | /* |
| 28 | * Bootcounter |
| 29 | */ |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 30 | #define CONFIG_SYS_BOOTCOUNT_BE |
| 31 | |
| 32 | #endif /* __CONFIG_SOCFPGA_IS1_H__ */ |