blob: 49883ea7a3cc041fe95c55d1627ffc400789d159 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0 */
Ley Foon Tan10b69642017-04-26 02:44:46 +08002/*
Tien Fong Cheebddd9112019-05-07 17:42:32 +08003 * Copyright (C) 2015-2019 Altera Corporation <www.altera.com>
Ley Foon Tan10b69642017-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 Rinid8532af2017-06-02 11:03:50 -040010
Ley Foon Tan10b69642017-04-26 02:44:46 +080011/*
12 * U-Boot general configurations
13 */
Ley Foon Tan10b69642017-04-26 02:44:46 +080014
15/* Memory configurations */
16#define PHYS_SDRAM_1_SIZE 0x40000000
17
Ley Foon Tan10b69642017-04-26 02:44:46 +080018/*
Ley Foon Tan10b69642017-04-26 02:44:46 +080019 * Serial / UART configurations
20 */
Ley Foon Tan10b69642017-04-26 02:44:46 +080021#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
22
23/*
24 * L4 OSC1 Timer 0
25 */
26/* reload value when timer count to zero */
27#define TIMER_LOAD_VAL 0xFFFFFFFF
28
29/*
30 * Flash configurations
31 */
Ley Foon Tan10b69642017-04-26 02:44:46 +080032
Tien Fong Cheebddd9112019-05-07 17:42:32 +080033/* SPL memory allocation configuration, this is for FAT implementation */
Tien Fong Cheebddd9112019-05-07 17:42:32 +080034
Ley Foon Tan10b69642017-04-26 02:44:46 +080035/* The rest of the configuration is shared */
36#include <configs/socfpga_common.h>
37
38#endif /* __CONFIG_SOCFGPA_ARRIA10_H__ */