blob: 58e446b60a90042adae850355ce86885d2ee8a6f [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0 */
Ley Foon Tan1b259402017-04-26 02:44:46 +08002/*
3 * Copyright (C) 2015-2017 Altera Corporation <www.altera.com>
Ley Foon Tan1b259402017-04-26 02:44:46 +08004 */
5
6#ifndef __CONFIG_SOCFGPA_ARRIA10_H__
7#define __CONFIG_SOCFGPA_ARRIA10_H__
8
9#include <asm/arch/base_addr_a10.h>
Tom Rini91d27a12017-06-02 11:03:50 -040010
Ley Foon Tan1b259402017-04-26 02:44:46 +080011/* Booting Linux */
12#define CONFIG_LOADADDR 0x01000000
13#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
14
15/*
16 * U-Boot general configurations
17 */
18/* Cache options */
19#define CONFIG_SYS_DCACHE_OFF
20
21/* Memory configurations */
22#define PHYS_SDRAM_1_SIZE 0x40000000
23
24/* Ethernet on SoC (EMAC) */
Ley Foon Tan1b259402017-04-26 02:44:46 +080025
26/*
27 * U-Boot environment configurations
28 */
Ley Foon Tan1b259402017-04-26 02:44:46 +080029
30/*
Ley Foon Tan1b259402017-04-26 02:44:46 +080031 * Serial / UART configurations
32 */
33#define CONFIG_SYS_NS16550_MEM32
34#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
35
36/*
37 * L4 OSC1 Timer 0
38 */
39/* reload value when timer count to zero */
40#define TIMER_LOAD_VAL 0xFFFFFFFF
41
42/*
43 * Flash configurations
44 */
45#define CONFIG_SYS_MAX_FLASH_BANKS 1
46
47/* The rest of the configuration is shared */
48#include <configs/socfpga_common.h>
49
50#endif /* __CONFIG_SOCFGPA_ARRIA10_H__ */