2 * Copyright (C) 2015-2017 Altera Corporation <www.altera.com>
4 * SPDX-License-Identifier: GPL-2.0
7 #ifndef __CONFIG_SOCFGPA_ARRIA10_H__
8 #define __CONFIG_SOCFGPA_ARRIA10_H__
10 #include <asm/arch/base_addr_a10.h>
12 #define CONFIG_HW_WATCHDOG
15 #define CONFIG_LOADADDR 0x01000000
16 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
19 * U-Boot general configurations
22 #define CONFIG_SYS_DCACHE_OFF
24 /* Memory configurations */
25 #define PHYS_SDRAM_1_SIZE 0x40000000
27 /* Ethernet on SoC (EMAC) */
28 #if defined(CONFIG_CMD_NET)
29 #define CONFIG_PHY_MICREL
30 #define CONFIG_PHY_MICREL_KSZ9031
34 * U-Boot environment configurations
36 #define CONFIG_ENV_IS_IN_MMC
39 * arguments passed to the bootz command. The value of
40 * CONFIG_BOOTARGS goes into the environment value "bootargs".
41 * Do note the value will overide also the chosen node in FDT blob.
43 #define CONFIG_BOOTARGS "console=ttyS0," __stringify(CONFIG_BAUDRATE)
46 * Serial / UART configurations
48 #define CONFIG_SYS_NS16550_MEM32
49 #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
54 /* reload value when timer count to zero */
55 #define TIMER_LOAD_VAL 0xFFFFFFFF
58 * Flash configurations
60 #define CONFIG_SYS_MAX_FLASH_BANKS 1
62 /* The rest of the configuration is shared */
63 #include <configs/socfpga_common.h>
65 #endif /* __CONFIG_SOCFGPA_ARRIA10_H__ */